Rsync keeps copying everything to the server

Paul Slootman paul+rsync at wurtel.net
Sat Oct 4 03:47:11 MDT 2014


On Thu 02 Oct 2014, Juan Carlos Valle Sandoval wrote:

> I have changed the script to:
> 
> rsync.exe -ai --size-only --progress
> --log-file=/cygdrive/v/notes/archive/RSyncLogFile.txt
> /cygdrive/d/%username%/notes/archive /cygdrive/v/notes/

You could still try the other suggestion of --modify-window=1
instead of --size-only. Now if a file is updated to e.g. correct a
spelling mistake "srync" to "rsync" then that files won't be backed up.

> The output is:
> 
> 2014/10/02 10:25:49 [5088] >f.st...... archive/file1.nsf
> 2014/10/02 10:25:54 [5088] sent 4073663746 bytes  received 41 bytes  total
> size 9589227520
> 
> The result:
> 
> Only the modified file was backed up. However the whole file was copied,
> not just the new things. :-(

Why do you say this?
The output reports (paraphrased) "sent 4GB, total size 9.5GB" so unless
you're not showing the whole output then it only sent half the file.

Use --stats to get more info on the whole transfer.


Paul


More information about the rsync mailing list