Re: rsync; Shouldn't Deleted Files be Deleted on the Backup?
On Mon, 2010-12-13 at 12:09 -0600, Martin McCormick wrote:
> I really like rsync but I have something set wrong. It copys the
> file system perfectly but if I delete a file on the master, I
> really want it to delete on the backup system.
>
> I tried --delete, --delete-during and --delete-after with no
> effect.
>
> Can I do the incremental backup that effects only the
> changed files and have it remove those files that exist on the
> copy but no longer exist on the master?
that is exactly what --delete does. I've been using it for some time and
it works just fine for me.
are you sure it is not working ? that is strange...
Joao
>
> Thank you.
>
> Martin McCormick
>
>
Reply to: