DO NOT REPLY [Bug 7922] rsync not using delta blocking when the source file different to partial file.

samba-bugs at samba.org samba-bugs at samba.org
Mon Jan 17 04:40:10 MST 2011


https://bugzilla.samba.org/show_bug.cgi?id=7922





------- Comment #2 from martin at backup-systems.co.uk  2011-01-17 05:40 CST -------
(In reply to comment #1)
> Using a local transfer is different than a network transfer. From the manpage:
> 
> -W, --whole-file
>     ....
>     This is the default when both the source and destination are specified as
> local paths, ...
> 

As part of the example, I forgot to include the --no-whole-file parameter as I
was trying to demo it on the same system.

But the same happens: if the new source file has slightly changed from partial
upload file, it uploads everything and ignores the delta algorithm

[root@]# rsync -a --verbose --progress  --partial-dir=/root/partial
--no-whole-file dir1/myfile.out dir2/myfile.out sending incremental file list
myfile.out
    10485766 100%   10.21MB/s    0:00:00 (xfer#1, to-check=0/1)

sent 10487126 bytes  received 38 bytes  6991442.67 bytes/sec total size is
10485766  speedup is 1.00


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list