From 43c3f427f3ebd724b5b3b3f63fa7f0c49f0f38c1 Mon Sep 17 00:00:00 2001 From: buffet Date: Thu, 25 Apr 2024 15:49:09 +0200 Subject: [PATCH] feat: do not backup Downloads and tmp Commonly contains bigger files, temporarily and fills up backup storage. --- hosts/ami/borg.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/ami/borg.nix b/hosts/ami/borg.nix index 6e43c51..43a48c3 100644 --- a/hosts/ami/borg.nix +++ b/hosts/ami/borg.nix @@ -10,7 +10,7 @@ in { services.borgbackup = { jobs.backup = { paths = ["/etc" "/home" "/root" "/var"]; - exclude = ["/var/log"]; + exclude = ["/var/log" "/home/buffet/Downloads" "/home/buffet/tmp"]; repo = "${host}:${config.networking.hostName}"; encryption = { mode = "repokey";