about summary refs log tree commit diff
path: root/hosts/tahoe
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-16 11:11:58 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-16 11:11:58 -0800
commit87b30c192544b7d3925a4ced1db8638121a6a829 (patch)
treee95ad27dcad54fd0f8e71b3730549c7674ed5d73 /hosts/tahoe
parentref(home/matrix): replace element by fractal (diff)
downloadworld-87b30c192544b7d3925a4ced1db8638121a6a829.tar.gz
ref(tahoe/backups): backup fewer things
I don't need to backup videos, and the cache of my home directory. I
also don't need to keep that many snapshots around.
Diffstat (limited to 'hosts/tahoe')
-rw-r--r--hosts/tahoe/services.nix12
1 files changed, 10 insertions, 2 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"
+      ];
     };
   };
 }