aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/tahoe/services.nix7
-rw-r--r--modules/services/grafana/default.nix5
2 files changed, 11 insertions, 1 deletions
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index ff476c5..3c47417 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -57,8 +57,15 @@ in
"/home"
];
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"
];
};
diff --git a/modules/services/grafana/default.nix b/modules/services/grafana/default.nix
index 46e75e1..84bd577 100644
--- a/modules/services/grafana/default.nix
+++ b/modules/services/grafana/default.nix
@@ -67,7 +67,10 @@ in
my.services.backup = {
paths = [ "/var/lib/grafana" ];
- exclude = [ "/var/lib/grafana/log/" ];
+ exclude = [
+ "/var/lib/grafana/data/log/"
+ "/var/lib/grafana/log/"
+ ];
};
};
}