Is rsync copying over the entire file? Sent bytes matches actual file size.

2008-10-29 Thread Administrator
Hi, I am testing rsync and it looks as though it is copying over the entire file which doesn't sound right. System: Windows 2003 Rsync.exe cygpopt-0.dll cygwin1.dll I have just tested rsync with a 571Mb zip file containing our Backup Exec installation source. The command I am running is:

Re: Is rsync copying over the entire file? Sent bytes matches actual file size.

2008-10-29 Thread Michal Soltys
Administrator wrote: Hi, [cut] Number of files: 2 Number of files transferred: 1 Total file size: 584742598 bytes Total transferred file size: 584742598 bytes Literal data: 584742598 bytes Matched data: 0 bytes File list size: 118 File list generation time: 0.002 seconds File list transfer

Re: Is rsync copying over the entire file? Sent bytes matches actual file size.

2008-10-29 Thread Administrator
From: Michal Soltys Locally used rsync will default to -W which causes whole files to be transferred (if they differ - also check -c option if mtime and size are not reliable in your case). But it still distinguishes between client and server - the stats are for the client - which sent

Re: Is rsync copying over the entire file? Sent bytes matches actual file size.

2008-10-29 Thread Paul Slootman
On Wed 29 Oct 2008, Administrator wrote: Thank you for that. I added the --no-whole-file switch and that has sorted it. Note that rsync's behaviour is for a reason: when doing a local transfer (i.e. not over a network) doing an incremental transfer will be slower due to more I/O being

Re: Is rsync copying over the entire file? Sent bytes matches actual file size.

2008-10-29 Thread Michal Soltys
Hedley J. Phillips wrote: Question 2: The time taken to run the command is the same with or without the switch. Why is this? I would expect the command with the no whole file switch to run faster as it only has to transfer a portion of the entire file. Do you mean precisely the same, or