Rsync of several directories doesn't delete files
Daniel Ramaley
daniel.ramaley at DRAKE.EDU
Fri Sep 20 15:12:01 EST 2002
That worked. Thank you for the help. My rsync line now looks like this:
rsync -avvR --rsh=ssh --delete --exclude-from=/tmp/excludes.daily \
/. backup.lib.drake.edu:/home/backup/www/
On Fri, 20 Sep 2002 08:09:59 -0600 tim.conway at philips.com wrote:
> Dan: try changing your commandline a bit. I don't know the code well
> enough to explain why, but I think this will work better:
> rsync -avR --rsh=ssh --delete --exclude-from=/tmp/excludes.daily /.
> backup:/home/backup/www/.
> For some reason, naming the directory inside itself seems to make things
> work better.
>
> Tim Conway
> tim.conway at philips.com
>
>
> Daniel Ramaley <daniel.ramaley at DRAKE.EDU>
> Sent by: rsync-admin at lists.samba.org
> 09/19/2002 03:49 PM
> Please respond to daniel.ramaley
>
> To: rsync at lists.samba.org
> cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
> Subject: Rsync of several directories doesn't delete files
> Classification:
>
> Hello. I'm trying to use rsync to keep a backup of a web server (named
> "www") on a separate machine (named "backup"). "Www" is running Trustix
> Linux 1.5 (kernel 2-2-20-2tr) with rsync 2.5.4 protocol 26. "Backup" is
> running OpenBSD 3.0. Rsync is using OpenSSH 3.1p1 as the transport. Files
> that are deleted from "www" are not deleted from "backup" on subsequent
> runs of rsync.
>
> My rsync line looks like this:
>
> rsync -avR --rsh=ssh --delete --exclude-from=/tmp/excludes.daily \
> / backup:/home/backup/www/
------------------------------------------------------------------------
Dan Ramaley
Digital Media Library Specialist
(515) 271-1934
Cowles Library 140, Drake University
More information about the rsync
mailing list