[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Identifying which files changed between archives


I'm trying to work out how to generate a report on files that are new or changed in a particular archive. I can't seem to find an easy way to do this, so hoping someone can help.

Here is the scenario I'm working through.
1. Backup directory "x" on 1st May 2019. First time archive, all 10Gb are sent as expected.
2. Backup directory "x" on 1st June 2019. Second time archive, 25Mb are sent.

How can I report on which files that 25Mb of delta's are part of? In this scenario, I wasn't expecting any changes to the files over the month, so am surprised there were anything above the metadata to be backed up. My understanding is that Tarsnap needs to know which files the changed blocks belong to, therefore in theory this metadata should be extractable.

The closest I've found to locate this is "tarnsap -t -f 'x' -v --iso-dates", but this doesn't natively provide the details I'm after. Ideally I'd like tarsnap to be able to report which files were uploaded at the time or archive with an option similar to --print-stats.

Anyone got any ideas?