fix(restic): improve ignorePatterns
This commit is contained in:
parent
2a6ffc38f3
commit
3a0c9a91e8
|
@ -18,22 +18,28 @@ in {
|
||||||
paths = [ "/etc/nixos" "/var/lib" "/home" ];
|
paths = [ "/etc/nixos" "/var/lib" "/home" ];
|
||||||
ignorePatterns = [
|
ignorePatterns = [
|
||||||
"/var/lib/systemd"
|
"/var/lib/systemd"
|
||||||
|
"/var/lib/libvirt"
|
||||||
"/var/lib/containers"
|
"/var/lib/containers"
|
||||||
"/var/lib/lxcfs"
|
"/var/lib/lxcfs"
|
||||||
"/var/lib/docker"
|
"/var/lib/docker"
|
||||||
"/var/lib/flatpak"
|
"/var/lib/flatpak"
|
||||||
"/home/*/.local/share/Trash"
|
|
||||||
"/home/*/.cache"
|
|
||||||
"/home/*/Downloads"
|
"/home/*/Downloads"
|
||||||
"/home/*/.npm"
|
|
||||||
"/home/*/Games"
|
"/home/*/Games"
|
||||||
|
"/home/*/.cache"
|
||||||
|
"/home/*/.npm"
|
||||||
|
"/home/*/.nuget"
|
||||||
"/home/*/.steam"
|
"/home/*/.steam"
|
||||||
|
"/home/*/.local/share/Trash"
|
||||||
|
"/home/*/.local/share/libvirt"
|
||||||
|
"/home/*/.local/share/containers"
|
||||||
|
"/home/*/.local/share/bottles"
|
||||||
"/home/*/.local/share/Steam"
|
"/home/*/.local/share/Steam"
|
||||||
"/home/*/.local/share/lutris"
|
"/home/*/.local/share/lutris"
|
||||||
|
"/home/*/.local/share/NuGet"
|
||||||
|
"/home/*/.config/libvirt"
|
||||||
"/home/felschr/media"
|
"/home/felschr/media"
|
||||||
"/home/felschr/sync"
|
"/home/felschr/sync"
|
||||||
"/home/felschr/keybase"
|
"/home/felschr/keybase"
|
||||||
"**/.git"
|
|
||||||
];
|
];
|
||||||
timerConfig.OnCalendar = "0/4:00:00";
|
timerConfig.OnCalendar = "0/4:00:00";
|
||||||
extraPruneOpts = [ "--keep-last 6" ];
|
extraPruneOpts = [ "--keep-last 6" ];
|
||||||
|
|
|
@ -22,10 +22,10 @@ in {
|
||||||
"/var/lib/lxcfs"
|
"/var/lib/lxcfs"
|
||||||
"/var/lib/docker"
|
"/var/lib/docker"
|
||||||
"/var/lib/flatpak"
|
"/var/lib/flatpak"
|
||||||
"/home/ignore"
|
"/home/*/ignore"
|
||||||
|
"/home/*/.cache"
|
||||||
"/home/*/.local/share/containers"
|
"/home/*/.local/share/containers"
|
||||||
"/home/*/.local/share/Trash"
|
"/home/*/.local/share/Trash"
|
||||||
"/home/*/.cache"
|
|
||||||
"/var/lib/jellyfin/transcodes"
|
"/var/lib/jellyfin/transcodes"
|
||||||
"**/.git"
|
"**/.git"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue