I am using rsnapshot
to manage incremental backups of some GNU/Linux servers.
Although rsnapshot
is delivered with a tool called rsnapshot-diff
it just provide disk space statistics.
The question is how to get a diff: new and deleted files, on a specific snapshot.
I read suggestions like
# find /raid/rap/$interval -type f -links 1 -exec du -k {} \; | sort -rn
but it didn't work on my snapshots. I did modify a single file an run the one liner above right after a new hourly.0 snapshot and no differences were reported. Alhtough if I run it as
# find /raid/rap/$interval -type f -links 2 -exec du -k {} \; | sort -rn
the modified file is reported. Why there are two links to the modified file?