rsync compression (-z) and timestamp
paul+rsync at wurtel.net
Wed Jan 28 11:41:37 GMT 2009
On Wed 28 Jan 2009, David de Lama wrote:
> But the strange thing with the timestamps is still disturbing me.
> I deleted the cache as Sven told me with a bash file:
> echo 3 > /proc/sys/vm/drop_caches
Did you do this between EVERY step below?
> After creating a file of 1GB I copy it with the standard rsync command.
> Then I made "touch -t 200901261330 test.xyz" and run this command:
> rsync -av --bwlimit=10000 --stats --progress --delete 192.168.222.82:"/home/test" /backup/rsync0
> It takes about 80sec.
> Then I made "touch test.xyz" and run the rsync command with forced md5:
> rsync -acv --bwlimit=10000 --stats --progress --delete 192.168.222.82:"/home/test" /backup/rsync0
> Now it takes only about 45sec.
Create the file, flush the cache.
Copy it with rsync, flush the cache.
touch the file, flush the cache.
More information about the rsync