Bug 5654 - Combination of --remove-sent-files, --partial, --partial-dir, --tmp-dir and --delay-updates can cause data loss
Summary: Combination of --remove-sent-files, --partial, --partial-dir, --tmp-dir and -...
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.3
Hardware: x64 Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 01:51 UTC by Paul Arnold
Modified: 2008-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Arnold 2008-07-31 01:51:27 UTC
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.
Comment 1 Wayne Davison 2008-08-01 21:06:12 UTC
This is fixed in the git repository and will be included in 3.0.4pre2.

Thanks for the report!