From 079b42218023ee961ff8a2311f3e7b2cdf492793 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 24 Jul 2022 21:10:03 +0200 Subject: [PATCH] backup: update exclude paths --- nixos/modules/backup.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/nixos/modules/backup.nix b/nixos/modules/backup.nix index f629a24..c1c951c 100644 --- a/nixos/modules/backup.nix +++ b/nixos/modules/backup.nix @@ -42,18 +42,19 @@ in "/proc" "/root/.cache/" "**/.Trash" - "/tmp/*" - "/var/lock/*" - "/var/run/*" - "/var/tmp/*" - "/home/*/tmp" - "/home/*/todo" - "/home/*/.cache" - "/home/*/.gvfs" - "/home/*/.thumbnails" - "/home/*/.local/share/Trash" + "/tmp" + "/var/lock" + "/var/lib/docker/devicemapper" + "/var/run" + "/var/tmp" "/srv/data/tmp" "/srv/data/todo" + "/home/*/.gvfs" + "/home/*/tmp" + "/home/*/todo" + "sh:/home/*/.cache" + "sh:/home/*/.local/share/Trash" + "sh:/home/*/.thumbnails" ]; extraCreateArgs = "--exclude-caches --keep-exclude-tags --stats"; encryption = {