extra backup overwrites original file

Wayne Davison wayned at samba.org
Mon Jun 14 14:55:56 GMT 2004

[I changed the subject to make it more descriptive of what is being
discussed -- it was just "reporting a bug".]

On Fri, Jun 11, 2004 at 02:31:56PM -0400, Wallace Matthews wrote:
> What appears to be happening is that the file renaming is happening
> twice and I get 2 copies of the 101M file and loose the backup copy of
> the 29G original.

That is apparently what happens if the code decides that the file didn't
transfer correctly the first time and thus needs to be resent.  The
current code in CVS would avoid this unless --partial was specified.
I'm about to check-in a change that would also prevent a double-backup
when using --partial.


More information about the rsync mailing list