services: nextcloud: regex don't work with restic

This commit is contained in:
Antoine Martin 2021-08-09 21:09:32 +02:00
parent b00faf77bb
commit e8ea4c8b5f

View file

@ -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"
];
};
};