From 6feafcee0747e91797a2ac5664802f97b7628c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 7 Jun 2023 05:43:09 +0100 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20backup=20some=20cache=20dirs=20?= =?UTF-8?q?and=20kubo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/services/restic.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/services/restic.nix b/config/services/restic.nix index 89989077..aeb90ec2 100644 --- a/config/services/restic.nix +++ b/config/services/restic.nix @@ -8,6 +8,16 @@ _: { extraBackupArgs = [ "--exclude-caches" "--compression max" + "--exclude" + "/var/tmp" + "--exclude" + "/var/cache" + "--exclude" + "/root/.cache" + "--exclude" + "/home/darkkirb/.cache" + "--exclude" + "/var/lib/kubo/root" ]; repository = "sftp:backup@backup.int.chir.rs:/backup"; };