--delete causes rsync failure

Wayne Davison wayned at samba.org
Tue Nov 13 20:55:49 GMT 2007

On Mon, Nov 12, 2007 at 11:46:06PM -0800, Kaleb Pederson wrote:
> rsync --server -vvlogDtpr --backup-dir backup_target --delete .

You'll note that rsync said it was using "--delete" as a backup
directory.  That means that something rearranged the options on the
remote system, changing the above to this:

  rsync --server -vvlogDtpr --backup-dir --delete backup_target .

If you can get whatever is doing that to stop, rsync will work fine.
Alternately, you can upgrade to the latest 3.0.0 pre-release and use the
-s (--protect-args) option (as long as you can upgrade both sides of the


More information about the rsync mailing list