Unable to include a directory within an excluded directory #1901
-
|
I am trying to exclude the .cache directory in my home directory, but I do want the yay directory within .cache to be backed up. I've tried adding it to the source directories, and have tried using +/home/ben/.cache/yay* within the excludes, however it does not back up. This seems to be the proper usage of the + according to borg documentation. Suggestions? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Vorta passes your excludes to borg using the re:^/home/ben/.cache/(?!yay) |
Beta Was this translation helpful? Give feedback.
Vorta passes your excludes to borg using the
--exclude-fromcmd option. Thus the advanced pattern style using+/-/R/... doesn't work.You can still achieve the desired behaviour: