From 2e794abc1b4af50899890f17a8fc3294852f8de4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 24 Apr 2023 19:47:56 -0700 Subject: 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. --- hosts/tahoe/services.nix | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'hosts/tahoe/services.nix') 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; -- cgit 1.4.1