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 [EMAIL PROTECTED] 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 > [EMAIL PROTECTED] > > > Daniel Ramaley <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 09/19/2002 03:49 PM > Please respond to daniel.ramaley > > To: [EMAIL PROTECTED] > 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 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html