Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
I've tested these options locally, for me it seems that everything works fine. But how do you use rsnapshot for backups? Normally rsnapshot is meant to be used for archiving data, not for backups. If you want to backup your data it is probably better to use rsync directly. – tvn Jun 9 '13 at 10:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.