Incremental transfers: how to tell?

James Kilton kilton9 at
Wed Jan 29 08:33:55 EST 2003

To follow up on this... I found the --stats option and
here's what I'm getting:

Number of files: 36
Number of files transferred: 36
Total file size: 10200816 bytes
Total transferred file size: 10200816 bytes
Literal data: 10200816 bytes
Matched data: 0 bytes
File list size: 576
Total bytes written: 10203996
Total bytes read: 596

So, I don't know why no parts of the files are
matching.  The files are the same save for 1 or 2
values changing every 5 minutes.  I don't know if
anyone here is familiar with RRD files, but they're
database files commonly used for SNMP data collection.
 All the fields are created initially so the file size
never changes -- the fields are populated as time goes

Is RSync unable to do incremental transfers of
non-text files?

--- James Kilton <kilton9 at> wrote:
> Hello.
> I just started messing around with RSync to
> synchronize some RRD files between a couple
> BSD/Linux
> boxes.  To test, I'm just trying to sync about 20 of
> these files which are about 256KB each.  It seems
> that
> the full contents of each file are being transferred
> each time; i.e., the incremental transfer feature
> isn't working.  I'm basing this assumption on output
> such as the following:
> # rsync --no-whole-file -vvae ssh *.rrd
> root at x.x.x.x:/tmp
> opening connection using ssh -l root x.x.x.x rsync
> --server -vvlogDtpr . /tmp
> root at x.x.x.x's password:
> building file list ...
> expand file_list to 4000 bytes, did move
> done
> dskAvail1.rrd
> dskAvail2.rrd
> ...
> ssCpuRawUser.rrd
> total: matches=0  tag_hits=0  false_alarms=0
> data=10200816
> wrote 10203996 bytes  read 596 bytes  1855380.36
> bytes/sec
> total size is 10200816  speedup is 1.00
> This was ran after the files were originally copied
> and some minor changes were made to each of them. 
> It
> appears that the amount of data transfered ("wrote")
> is almost the same as the total size of all the
> files,
> which leads me to believe that all the files were
> transferred in their entirety.  I specified the
> "no-write" option to see if it would make a
> difference
> to no avail.  
> I also tried this with just one text file, and got
> the
> same type of output.  Am I interpreting the output
> wrong, or all the files indeed being transferred in
> their entirety?  If so, is there a way to ascertain
> why this is happening?
> Thanks,
> James
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

More information about the rsync mailing list