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 make backups of a folder which contains audio files. When these files change, it is only metadata such as ID3 tags which change, and I don't need to make a new backup of the entire MP3 file just because of this.

I've got the metadata in a separate database and can easily write that metadata to the files if needed.

Thus, I would like rsnapshot only to make copies of new files and remove deleted files from my backup "vault". My question is; can I simply just use --ignore-existing for this?

Will rsnapshot understand that?

share|improve this question
up vote 3 down vote accepted

So yes, you must provide the argument in the rsnapshot.conf file :

rsync_long_args        --ignore-existing

If you want to keep the default rsync_long_args for rsnapshot (you probably want). You must put them on the same line like this :

rsync_long_args        --delete --numeric-ids --relative --delete-excluded --ignore-existing

The example above is from the version 1.3.1. Remember a TAB should separate the rsync_long_args part from the arguments.

Just remember to do a test with -t before doing it for real !

rsnapshot -t daily
share|improve this answer
Alright...just for me to get this right...does rsnapshot first create hardlinks based on the "previous" backup, and then from there check against the source to see if there are any changes? – sbrattla Feb 26 '13 at 14:56
Found an explanation in… under "How rsnapshot works". Thanks! – sbrattla Feb 26 '13 at 15:17

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.