Hi! I'm running rsync with rsnapshot and realized that files don't get deleted from the backup. So I checked the call from r my backup. So I checked the call from rsnapshot and started rsync manually like this: /usr/bin/rsync -azx --delete --numeric-ids --relative --delete-excluded --exclude=/srv/backup/* --rsh=/usr/bin/ssh root@mysql:/boot /srv/backup/daily.0/mysql_boot/ However, rsync won't delete file which have gone away from the senders' side. Anyone an idea why? rsync version 2.6.9 protocol version 29 CentOS5 (both systems)
On Sat, Oct 20, 2007 at 10:09:17AM +0200, chrischan@knebb.de wrote:> /usr/bin/rsync -azx --delete --numeric-ids --relative --delete-excluded --exclude=/srv/backup/* --rsh=/usr/bin/ssh root@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..