I'm using rsnapshot to back up some servers of mine. It works fine, except it won't delete files that have been deleted on the source server. Here is where I give rsnapshot the options to pass along to rsync:
rsync_long_args --stats --delete --numeric-ids --delete-excluded
It seems to have something to do with the --stats
option, because whenever I have this instead:
rsync_long_args --delete --numeric-ids --delete-excluded
It will remove the files that were deleted on the source. Does anyone know why this is? I'd really like to be able to keep the --stats output
, and whenever I put it anywhere else I don't seem to get the output.