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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to