services: nextcloud: regex don't work with restic
This commit is contained in:
parent
b00faf77bb
commit
e8ea4c8b5f
|
@ -77,9 +77,9 @@ in
|
||||||
paths = [ nextcloudHome ];
|
paths = [ nextcloudHome ];
|
||||||
exclude = [
|
exclude = [
|
||||||
# borg can fail if *.part files disappear during backup
|
# 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
|
# image previews can take up a lot of space
|
||||||
"re:^${nextcloudHome}/data/appdata_[^/]+/preview"
|
"${nextcloudHome}/data/appdata_*/preview"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue