Rsync does not delete
Wayne Davison
wayned at samba.org
Sat Oct 20 18:26:04 GMT 2007
On Sat, Oct 20, 2007 at 10:09:17AM +0200, chrischan at knebb.de wrote:
> /usr/bin/rsync -azx --delete --numeric-ids --relative --delete-excluded --exclude=/srv/backup/* --rsh=/usr/bin/ssh root at mysql:/boot /srv/backup/daily.0/mysql_boot/
That will copy things into a /srv/backup/daily.0/mysql_boot/boot
directory (note the trailing "boot"). Is that where you're looking for
deletions to occur? Or did you expect the transfer to copy into the
.../mysql_boot dir? If so, add a trailing slash to the source path.
..wayne..
More information about the rsync
mailing list