What’s the main purpose of removing snapshots? Is it solely to free up space, or will it speed up some processes too?
I’m asking this because I don’t have a space issue, but want to know if it’s useful to remove snapshots (according to a policy).
It’s mainly there to free up used space. If you have many (> 200 or so) snapshots on a high-latency remote like B2, then it’ll slow down restic’s operations to list and query all snapshots (which correspond to files on the server). Having less snapshots will yield a speed increase then.
Thanks for your answer. Is Google drive (via rclone) considered as a high latency remote?
Yes, it is (unfortunately)…
Thanks a lot for your answer, @fd0! Really appreciate your work and dedication a lot!!
@Cadish Please note that removing snapshots will not automatically free up the space they (and no other snapshots) occupied. In order to free up the space, you need to use the
prune command in restic, or the
--prune option to the
forget command. See https://restic.readthedocs.io/en/latest/060_forget.html for more details and examples.