From e8ea4c8b5fe34773484996bdec2003b8b0c435b4 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 9 Aug 2021 21:09:32 +0200 Subject: [PATCH] services: nextcloud: regex don't work with restic --- services/nextcloud.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/nextcloud.nix b/services/nextcloud.nix index 533e16e..d6f4ab1 100644 --- a/services/nextcloud.nix +++ b/services/nextcloud.nix @@ -77,9 +77,9 @@ in paths = [ nextcloudHome ]; exclude = [ # borg can fail if *.part files disappear during backup - "re:^${nextcloudHome}/data/[^/]+/uploads" + "${nextcloudHome}/data/*/uploads" # image previews can take up a lot of space - "re:^${nextcloudHome}/data/appdata_[^/]+/preview" + "${nextcloudHome}/data/appdata_*/preview" ]; }; };