Hi all, I’ve seen a few posts on this but really didn’t see any consensus, but just wanting to validate that what I’m doing sounds reasonable.
I run restic via an automated script I wrote which is triggered nightly via systemd. I run backup
, followed by forget --prune
followed by check
. I backup to a personal NAS running the rest server.
My question is does running forget --prune
nightly make sense or should I be running it less frequently, for example weekly or monthly? Also does running check
at the end make sense or should I run it at the beginning and or move that to periodically as well?
Thanks in advance for any advice.
My question is does running
forget --prune
nightly make sense or should I be running it less frequently
I think the reason prune is a separate thing from forget is because prune is a longer process. forget --prune will slow down the backup process depending on the size of the repo(s). If that’s not a big deal to you, then i think you’re fine. Personally I like to do all these tasks separately at different hours. I run my backup script daily first then after a few hours a dedicated prune script. Also checks are fine for the end. You really cannot go wrong. Restic is so flexible in this way.
1 Like