diff options
author | Franck Cuny <franck@fcuny.net> | 2022-06-09 14:41:29 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-09 14:43:45 -0700 |
commit | 7ea1e08b98a53d1551694a22545541d92bceceb5 (patch) | |
tree | a114a9cb06e020a7b50aac29314db007dcba4ce8 | |
parent | fix(restic): actually exclude files from the backup (diff) | |
download | world-7ea1e08b98a53d1551694a22545541d92bceceb5.tar.gz |
fix(navidrome): don't backup the cache directory
Change-Id: I45a42543d7fb5071022a77382e925b55568e2c2d Reviewed-on: https://cl.fcuny.net/c/world/+/363 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r-- | modules/services/navidrome/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/services/navidrome/default.nix b/modules/services/navidrome/default.nix index 87f7422..55c7345 100644 --- a/modules/services/navidrome/default.nix +++ b/modules/services/navidrome/default.nix @@ -37,6 +37,9 @@ in { credentialsFile = secrets."acme/credentials".path; }; - my.services.backup = { paths = [ "/var/lib/navidrome" ]; }; + my.services.backup = { + paths = [ "/var/lib/navidrome" ]; + exclude = [ "/var/lib/navidrome/cache/" ]; + }; }; } |