--delete causes rsync failure

Kaleb Pederson kaleb.pederson at gmail.com
Wed Nov 14 17:28:59 GMT 2007


Thanks Wayne, you're exactly right!  The intercepting program's debug
output was incorrect.  I straced the process and found that the execve
arguments were indeed in a different order.  Now I just need to figure
out why.

Thanks again.

--Kaleb

On Nov 13, 2007 12:55 PM, Wayne Davison <wayned at samba.org> wrote:
> 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
> connection).
>
> ..wayne..
>


More information about the rsync mailing list