diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/tahoe/services.nix | 12 | ||||
-rw-r--r-- | modules/services/backup/default.nix | 5 |
2 files changed, 12 insertions, 5 deletions
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix index ec9c2de..ff476c5 100644 --- a/hosts/tahoe/services.nix +++ b/hosts/tahoe/services.nix @@ -51,8 +51,16 @@ in timerConfig = { OnCalendar = "00:15"; }; passwordFile = secrets."restic/repo-systems".path; paths = - [ "/home" "/data/fast/music" "/data/fast/photos" "/data/fast/videos" ]; - exclude = [ "/home/fcuny/import" "/home/fcuny/media/videos" ]; + [ + "/data/fast/music" + "/data/fast/photos" + "/home" + ]; + exclude = [ + "/home/fcuny/.cache" + "/home/fcuny/import" + "/home/fcuny/media/videos" + ]; }; }; } diff --git a/modules/services/backup/default.nix b/modules/services/backup/default.nix index 4e7fc23..d681a07 100644 --- a/modules/services/backup/default.nix +++ b/modules/services/backup/default.nix @@ -50,11 +50,10 @@ in type = with types; listOf str; default = [ "--keep-last 10" - "--keep-hourly 24" "--keep-daily 7" "--keep-weekly 4" - "--keep-monthly 12" - "--keep-yearly 100" + "--keep-monthly 8" + "--keep-yearly 2" ]; example = [ "--keep-last 5" "--keep-weekly 2" ]; description = '' |