From e85cb4e0f0fc994f73acc99b488964faff6ea45e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Mon, 15 Aug 2022 21:16:29 +0200 Subject: [PATCH] chore(restic): reduce to 4 daily backups --- services/restic/home-pc.nix | 4 ++-- services/restic/home-server.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/restic/home-pc.nix b/services/restic/home-pc.nix index af5c78e..c33c004 100644 --- a/services/restic/home-pc.nix +++ b/services/restic/home-pc.nix @@ -89,8 +89,8 @@ in { "/home/*/.var/app/**/Code Cache" "/home/*/.var/app/**/GPUCache" ]; - timerConfig.OnCalendar = "0/4:00:00"; - extraPruneOpts = [ "--keep-last 6" ]; + timerConfig.OnCalendar = "0/6:00:00"; + extraPruneOpts = [ "--keep-last 4" ]; }; # extra handling for dev folder to respect .gitignore files: diff --git a/services/restic/home-server.nix b/services/restic/home-server.nix index c905f6c..d6ef279 100644 --- a/services/restic/home-server.nix +++ b/services/restic/home-server.nix @@ -39,7 +39,7 @@ in { "log" ".Trash" ]; - timerConfig.OnCalendar = "0/4:00:00"; - extraPruneOpts = [ "--keep-last 6" ]; + timerConfig.OnCalendar = "0/6:00:00"; + extraPruneOpts = [ "--keep-last 4" ]; }; }