restic: Exclude /data/cache/
This commit is contained in:
parent
621a91457c
commit
7931f1f3f5
|
@ -36,6 +36,9 @@ let
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
"/var/lib/docker/"
|
"/var/lib/docker/"
|
||||||
|
|
||||||
|
# Stuff I do not want to back up
|
||||||
|
"/data/cache/"
|
||||||
];
|
];
|
||||||
excludesFile = pkgs.writeText "exludes.txt" (builtins.concatStringsSep "\n" excludes);
|
excludesFile = pkgs.writeText "exludes.txt" (builtins.concatStringsSep "\n" excludes);
|
||||||
maybePath = path: (lib.optional (builtins.pathExists path) (toString path));
|
maybePath = path: (lib.optional (builtins.pathExists path) (toString path));
|
||||||
|
|
Loading…
Reference in a new issue