Repository navigation
Replies: 4 comments 1 reply
|
Yes, you can do nested includes/excludes in Borg with patterns. See the example about half-way down the patterns documentation page. It includes https://borgbackup.readthedocs.io/en/stable/usage/help.html (Search for the word "Susan" on the page to find the example.) |
|
This post comes up high on search results, a mild hijack. It's not the answer for OP but it will save someone else a tonne of time and is self explanatory and easily modifiable:
note: if you're not backing up remotely get rid of
i.e. backup that whole directory minus the docs for borgbackup and send that to Those leading slashes are required, despite the examples in the documentation not having any... Modify the paths to suit your needs, add more |
|
I'm not clicking as to what is meant by RR? recursive rule? remote repo?
Surely you would just do this: |
|
Closing this as outdated: it has seen no activity for a long time and predates the current borg releases. If this still affects you on a current version - borg 1.4.x (stable) or the borg 2.0.0 beta - please open a new discussion with up-to-date details. |
Uh oh!
There was an error while loading. Please reload this page.
How can you exclude a folder with exceptions base on path contents?
https://unix.stackexchange.com/questions/683210/borg-exclude-a-folder-with-some-exceptions
All reactions