3 ms·
no, you have to run "restic forget" with the policy you want (keep last X, last monthly Y, etc.) followed up with a "restic prune". Or you can pass "--prune" to
by deckard1 4y ago
no, you have to run "restic forget" with the policy you want (keep last X, last monthly Y, etc.) followed up with a "restic prune". Or you can pass "--prune" to the "forget" command I think.
You don't always want to forget/prune snapshots. Especially if you're using a cloud service like B2. It can easily cost you more to prune than actual storage costs if you're not careful.
See here:
https://www.seanh.cc/2022/04/03/restic/#maintaining-your-backup https://www.seanh.cc/2022/04/03/restic/#maintaining-your-bac...
and
https://kdecherf.com/blog/2018/12/28/restic-and-backblaze-b2-short-cost-analysis-of-prune-operations/ https://kdecherf.com/blog/2018/12/28/restic-and-backblaze-b2...
- Saris 4y agoThanks for the links! That's helpful, the part about B2 makes sense.