From 05623205f30e427b10609e02d77d7d3c5c09ca32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 28 Jul 2024 08:20:04 +0200 Subject: [PATCH] update restic config --- config/nas.nix | 2 +- config/services/restic.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/nas.nix b/config/nas.nix index 76c7ae56..aed69f05 100644 --- a/config/nas.nix +++ b/config/nas.nix @@ -193,7 +193,7 @@ package = config.boot.kernelPackages.nvidiaPackages.stable; }; services.restic.backups.sysbackup = { - paths = ["/persist"]; + paths = ["/media"]; pruneOpts = [ "--keep-daily 7" "--keep-weekly 4" diff --git a/config/services/restic.nix b/config/services/restic.nix index 9ad97c7f..bfabd8fc 100644 --- a/config/services/restic.nix +++ b/config/services/restic.nix @@ -9,6 +9,7 @@ paths = [ "/var" "/home" + "/root" ]; extraBackupArgs = [ "--exclude-caches"