Bug 5654 - Combination of --remove-sent-files, --partial, --partial-dir, --tmp-dir and --delay-updates can cause data loss
Combination of --remove-sent-files, --partial, --partial-dir, --tmp-dir and -...
Product: rsync
Classification: Unclassified
Component: core
x64 Linux
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2008-07-31 01:51 UTC by Paul Arnold
Modified: 2008-08-01 21:06 UTC (History)
0 users

See Also:


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!