Is it safe to run restic prune via cron?


I want to run restic prune regulary via cron. Is it safe to do that, lets say, once a week via cron?

Yes, it is safe to run prune via cron. It has extensive checks and will abort when it finds errors that require manual intervention.

Very good, thanks a lot. Will try that later.


I created a tool for managing the automatic purge of Restic backups based on time and retention policies. Maybe you can make a good use of it…