about summary refs log tree commit diff
path: root/hosts/tahoe
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-04-24 19:47:56 -0700
committerFranck Cuny <franck@fcuny.net>2023-04-29 15:08:28 -0700
commit2e794abc1b4af50899890f17a8fc3294852f8de4 (patch)
tree7819102330418b3289312e46b7cc8de163cc59fe /hosts/tahoe
parenthosts/aptos: configure backups properly (diff)
downloadworld-2e794abc1b4af50899890f17a8fc3294852f8de4.tar.gz
hosts/tahoe: update settings related to restic
The path to the restic repository has changed, and we are a bit more
specific about the paths we want to backup.
Diffstat (limited to 'hosts/tahoe')
-rw-r--r--hosts/tahoe/services.nix19
1 files changed, 5 insertions, 14 deletions
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index 4010094..b2d8233 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -55,27 +55,18 @@ in
     syncthing.enable = true;
     backup = {
       enable = true;
-      repository = "/data/slow/backups/systems";
+      repository = "/data/slow/backups/hosts/tahoe";
       timerConfig = { OnCalendar = "00:15"; };
       passwordFile = secrets."restic/repo-systems".path;
       paths =
         [
           "/data/fast/music"
           "/data/fast/photos"
-          "/home"
+          "/home/fcuny/documents"
+          "/home/fcuny/workspace"
+          "/home/fcuny/media"
         ];
-      exclude = [
-        # nothing worth backing up on this machine in this location
-        "/home/fcuny/.cache"
-        "/home/fcuny/.local"
-
-        # I might have media in this folder, and I don't want them to
-        # be backuped up
-        "/home/fcuny/import"
-
-        # If it's something I care about it will be moved to /data
-        "/home/fcuny/media/videos"
-      ];
+      exclude = [ ];
     };
 
     sendsms.enable = true;