diff options
author | Franck Cuny <franck@fcuny.net> | 2023-01-19 17:57:09 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-01-19 17:58:44 -0800 |
commit | 04332f9a9eb41a258b5a76c2f6eb5314d972b0bf (patch) | |
tree | 130472a1c1af207ed87927841bf1f9dc89e26299 | |
parent | feat(home/packages): install restic (diff) | |
download | world-04332f9a9eb41a258b5a76c2f6eb5314d972b0bf.tar.gz |
ref(hosts/tahoe): exclude more paths from backups
-rw-r--r-- | hosts/tahoe/services.nix | 7 | ||||
-rw-r--r-- | modules/services/grafana/default.nix | 5 |
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/" + ]; }; }; } |