Can we see snapshot sizes?

Computing the size of each snapshot is a very time-consuming process since each tree must be visited to determine how large the snapshot is. Doing this for a list of a hundred snapshots would probably take an hour or so.

2 Likes

Ok, thanks that bit I did not know. Will do with the individual stats then.

I found a solution to find space will be freed if a snapshot were removed.

1- Run restic prune --dry-run
2- Take note of sum ā€œtotal pruneā€ and ā€œunused size after pruneā€
3- Run restic forget snapshotid --prune --dry-run
4- Take note of sum ā€œtotal pruneā€ and ā€œunused size after pruneā€
5- The difference between the sums is the space will be freed if a snapshot were removed.

3 Likes

@fthdgn Thanks for the info!