From 727ba4a305cb326d2a2fa4f3b50708b883fb1dda Mon Sep 17 00:00:00 2001 From: chaos Date: Wed, 20 Nov 2024 20:01:01 +0000 Subject: [PATCH] re-add prune --- hosts/hetzner-arm/containers/mail/profiles/restic.nix | 2 +- hosts/hetzner-arm/containers/storage/profiles/users.nix | 2 +- hosts/hetzner-arm/profiles/restic.nix | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/hetzner-arm/containers/mail/profiles/restic.nix b/hosts/hetzner-arm/containers/mail/profiles/restic.nix index 7ad9b1f..93ed1ec 100644 --- a/hosts/hetzner-arm/containers/mail/profiles/restic.nix +++ b/hosts/hetzner-arm/containers/mail/profiles/restic.nix @@ -21,7 +21,7 @@ in { environmentFile = "${secrets.restic_env.path}"; createWrapper = true; - #pruneOpts = ["--keep-last 60"]; + pruneOpts = ["--keep-last 60"]; timerConfig = backupSchedules.restic.medium; }; } diff --git a/hosts/hetzner-arm/containers/storage/profiles/users.nix b/hosts/hetzner-arm/containers/storage/profiles/users.nix index 26eb1dc..ed3312a 100644 --- a/hosts/hetzner-arm/containers/storage/profiles/users.nix +++ b/hosts/hetzner-arm/containers/storage/profiles/users.nix @@ -7,4 +7,4 @@ isNormalUser = true; extraGroups = ["storage"]; }; -} +} \ No newline at end of file diff --git a/hosts/hetzner-arm/profiles/restic.nix b/hosts/hetzner-arm/profiles/restic.nix index c875448..9a8318d 100644 --- a/hosts/hetzner-arm/profiles/restic.nix +++ b/hosts/hetzner-arm/profiles/restic.nix @@ -44,7 +44,7 @@ in { passwordFile = secrets.restic_password_social.path; createWrapper = true; - #pruneOpts = ["--keep-last 10"]; + pruneOpts = ["--keep-last 10"]; timerConfig = backupSchedules.restic.medium; backupPrepareCommand = let @@ -88,7 +88,7 @@ in { passwordFile = secrets.restic_password_forgejo.path; createWrapper = true; - #pruneOpts = ["--keep-last 50"]; + pruneOpts = ["--keep-last 50"]; timerConfig = backupSchedules.restic.high; }; radicale = { @@ -102,7 +102,7 @@ in { passwordFile = secrets.restic_password_radicale.path; createWrapper = true; - #pruneOpts = ["--keep-last 50"]; + pruneOpts = ["--keep-last 50"]; timerConfig = backupSchedules.restic.high; }; vault = {