How to get old "exclude if present" functionality back / emulate it with exclusion rules? #2006
-
With some recent update (not sure how recent unfortunately) Vorta changed how it handles exclusions. Previously it would let you set certain files which, if they were present, the directory would be excluded. With newer versions however this isn't the case, instead it exposes a direct config for exclusion rules. Unfortunately, I've checked the Borg documentation and I can't see any way to immitate the old functionality with those exclusion rules. The --exclude-if-present flag does this, but I've tried adding my two exceptions to the "extra arguments for borg create" section in Schedule but they don't appear to work I've checked the docs and could find no direct equivalent to --exclude-if-present for the exclusion file syntax, so I don't know how to replicate it. Obviously it's possible since Vorta used to do this and it worked fine, but I don't know how it was done and I can't figure out how to recreate it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
and nevermind, I looked through the issues and found someone who had posted an image using |
Beta Was this translation helpful? Give feedback.
and nevermind, I looked through the issues and found someone who had posted an image using
--exclude-if-present .filename
and I realized it wasn't expecting it to be quoted and providing it quoted does break things. After changing that it appears to be working correctly