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'd like to retrieve the following stats from rsnapshot

  • files synced
  • added files
  • modded files
  • deleted files

Is there a feature to retrieve these in rsnapshot, or is there another product that's able to do it?

EDIT: As requested, I'll try to show that I'm not just asking what I want to do without any research.

I wasn't able to locate any rsnapshot feature doing this. Maybe I'm searching in a wrong direction.

So, I've built a not very pretty script, called each time before rsnapshot is ran. This Perl script stores each file MD5, in order to compare backup files structures between rsnapshot updates. I'm pretty sure it's worthless to show this code here.

I think that keeping an eye on what change on a server, for example, is a useful feature. So, I'm asking.

@pauska Most of the time, I'm trying to search for an answer myself, which is not the case here.


share|improve this question
"Shopping" questions are frowned upon. Perhaps you could re-write this question to at least give us the impression that you've put any effort into researching this particular usage? – pauska Dec 14 '12 at 14:44
up vote 2 down vote accepted

There is a perl script that comes bundled with rsnapshot called, when run it outputs something like this :

myhost:/              5176          137      8979.14      7.78   0.978 second   0.000 seconds

It won't tell you the deleted and added files, although you will be able to know the numbers by comparing consecutive reports.

share|improve this answer

If you give "-vi" parameters to the rsync binary, through rsnapshot config file, you will get a list of all operations done on the files. You will have to configure rsnapshot to keep the output of rsync somewhere.

share|improve this answer

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.