Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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-bac...

and

https://kdecherf.com/blog/2018/12/28/restic-and-backblaze-b2...



Thanks for the links! That's helpful, the part about B2 makes sense.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: