Is it possible for restic to report on the amount of data saved in a particular snapshot? At the moment this doesn’t appear to be in either the output of snapshots list
or in the output of a non-interactive restic backup
job.
You may find this helpful: https://github.com/alphapapa/restic-runner It can report the change in repo size after an operation, like:
LOG (2018-01-06 00:09:57-06:00): backup finished. Duration: 7m31s Repo size: 50.341 GB (+1.576 GB)
If I am reading the script properly, it calculates the repository size by calling du
, which won’t work at all for remote backup sources (I’m using Backblaze B2, but similarly for AWS S3, Google Cloud, etc).