Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsync'ing properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
batfoot
Apprentice
Apprentice


Joined: 26 Jul 2004
Posts: 197

PostPosted: Sun Jul 30, 2006 12:42 am    Post subject: rsync'ing properly Reply with quote

Hi all.

Just a question regarding rsync. I don't know if anyone can help at all.

I rsync between two local disks. The source folder has approximately 150GB of data in approx 1800 folders. I normally use the rsync --v -c -r /source /dest command.

Each time I do this I have to wait around 50 minutes for the files to start copying across. I can see that it is building a file list each time.

Yesterday I ran the above command, then added a new folder to the /source, then ran the command again and it took another 50 mins to start the copying, which only took 5 seconds to complete.

Am I doing the right thing or is there a better way for me to do this?

Thank you.

Regs
Craig :)
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Sun Jul 30, 2006 12:18 pm    Post subject: Reply with quote

The --checksum "option can be quite slow."
For copies between two local disks that is a quite a bit of overhead.
Consider using
Code:
rsync -v -a /source /dest

instead.
Back to top
View user's profile Send private message
batfoot
Apprentice
Apprentice


Joined: 26 Jul 2004
Posts: 197

PostPosted: Tue Aug 01, 2006 2:06 am    Post subject: Reply with quote

Hi.

Thanks for the reply. I had an idea the checksum was causing it to be so slow.

Thanks for that I'll remove the checksum option for now :)

>Craig
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum