disable autoprune
This commit is contained in:
parent
22644ae460
commit
fde0dc22d7
|
@ -6,15 +6,11 @@ let
|
||||||
OnBootSec = "1m";
|
OnBootSec = "1m";
|
||||||
OnCalendar = "daily";
|
OnCalendar = "daily";
|
||||||
};
|
};
|
||||||
pruneOpts = [
|
|
||||||
"--keep-within 14d"
|
|
||||||
];
|
|
||||||
in {
|
in {
|
||||||
services.restic.backups.hetzner-vm = {
|
services.restic.backups.hetzner-vm = {
|
||||||
user = backupUser;
|
user = backupUser;
|
||||||
paths = backupPaths;
|
paths = backupPaths;
|
||||||
timerConfig = timerConfig;
|
timerConfig = timerConfig;
|
||||||
pruneOpts = pruneOpts;
|
|
||||||
repository = "b2:Backups-HetznerVM:/";
|
repository = "b2:Backups-HetznerVM:/";
|
||||||
passwordFile = "/secrets/restic-password";
|
passwordFile = "/secrets/restic-password";
|
||||||
environmentFile = "/secrets/restic-env";
|
environmentFile = "/secrets/restic-env";
|
||||||
|
@ -23,7 +19,6 @@ in {
|
||||||
user = backupUser;
|
user = backupUser;
|
||||||
paths = backupPaths;
|
paths = backupPaths;
|
||||||
timerConfig = timerConfig;
|
timerConfig = timerConfig;
|
||||||
pruneOpts = pruneOpts;
|
|
||||||
repository = "b2:Cryptidz-Backup:HetznerVM";
|
repository = "b2:Cryptidz-Backup:HetznerVM";
|
||||||
passwordFile = "/secrets/restic-password-cassie";
|
passwordFile = "/secrets/restic-password-cassie";
|
||||||
environmentFile = "/secrets/restic-env-cassie";
|
environmentFile = "/secrets/restic-env-cassie";
|
||||||
|
|
Loading…
Reference in a new issue