fix: restic automatic pruning

This commit is contained in:
Leon Schwarzäugl 2025-06-09 02:21:17 +02:00
parent d366887a77
commit a4ad3b8088
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 17 additions and 3 deletions

View file

@ -32,11 +32,18 @@ in
"/Vault/data/paperless"
"/Vault/Eternor/Bilder"
"/Vault/Eternor/Immich"
"/Vault/familymedia"
];
pruneOpts = [
"--keep-daily 3"
"--keep-weekly 2"
"--keep-monthly 3"
"--keep-yearly 100"
];
repository = "${resticRepo}";
initialize = true;
timerConfig = {
OnCalendar = "19:00";
OnCalendar = "03:00";
};
};