DO NOT REPLY [Bug 5654] New: Combination of --remove-sent-files, --partial, --partial-dir, --tmp-dir and --delay-updates can cause data loss

samba-bugs at samba.org samba-bugs at samba.org
Thu Jul 31 06:51:27 GMT 2008


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

           Summary: Combination of --remove-sent-files, --partial, --
                    partial-dir, --tmp-dir and --delay-updates can cause
                    data loss
           Product: rsync
           Version: 3.0.3
          Platform: x64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: paul at barfoo.net
         QAContact: rsync-qa at samba.org


Running the following:
rsync -r --delay-updates --temp-dir=.tmp --partial-dir=.tmp/partial --partial
--remove-sent-files "/tmp/rsync-sender/dir" "/tmp/rsync-receiver"

will cause the files to be deleted from the sending side and not created on the
receiving side.

While running:
rsync -r --delay-updates --temp-dir=.tmp --partial-dir=.partial --partial
--remove-sent-files "/tmp/rsync-sender/dir" "/tmp/rsync-receiver"

works as expected.


-- 
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