Open cultpony opened 1 year ago
If pruneOpts
is empty then the prune and check aren't run
Yes but then forget isn't run at all either, I would like to run forget without the check or prune, as I can prune the repo later without issue but atm it's causing issues with the repo randomly just being deadlocked due to an OOM event.
It can be useful for each host and job to have its own retention settings.
Here is an idea of how to do it:
Describe the bug
The automatic restic backup service runs a prune after every backup.
For my use case, I'm having multiple machines backup into an Append-Only repository, there is no need for them to prune, the prune runs elsewhere. Many of the machines don't even have the RAM to run prune reliably without going into an OOM state or the machine hangs entirely due to the CPU demand and having run out of CPU quota.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would love an option that turns off both the check and the prune running on the repository to reduce unneeded traffic from my nix machines.
Notify maintainers
@dotlambda @mbrgm
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.