You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specify my homeDir as the RR; i.e. /Volumes/borgLab/home/borgie3 shown below..
Backup some files in the homeDir as well as other full directories further down the tree.
Exclude the remaining dirs & files without borg having to scan each file.
WHY: The number of files to exclude in my real-world environment totals several thousand so the scan takes a long time.
Example setup
Directory tree
/Volumes/borgLab/home/borgie3
├── borgtest3a <<< EXCLUDE THIS & ALL BELOW
│ ├── 3a1
│ ├── 3a2
│ └── 3a3
├── borgtest3b <<< PARTIAL INCLUDE & EXCLUDE
│ ├── 3b1 <<< INCLUDE
│ ├── 3b2 <<< EXCLUDE
│ └── 3b3 <<< EXCLUDE
└── borgtest3c <<< PARTIAL INCLUDE & EXCLUDE
│ ├── 3c1 <<< EXCLUDE
│ ├── 3c2 <<< EXCLUDE
│ ├── 3c3 <<< INCLUDE
├── in-bu_ROOT_1 <<< INCLUDE
├── in-bu_ROOT_2 <<< INCLUDE
└── in-bu_ROOT_3 <<< EXCLUDE
Given the above tree, is it possible to:
BACKUP:in-bu_ROOT_1 & in-bu_ROOT_2 in the homeDir; all files in borgtest3b/3b1 & borgtest3c/3c3
EXCLUDE: all other files without scanning any of those excluded files.
I have tried several different pattern file rules, including different pattern styles, but no matter what I try, directories that contain both some files to backup and others to be excluded require that all files in that part of the tree get scanned.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Goal
/Volumes/borgLab/home/borgie3
shown below..Example setup
Directory tree
Given the above tree, is it possible to:
I have tried several different pattern file rules, including different pattern styles, but no matter what I try, directories that contain both some files to backup and others to be excluded require that all files in that part of the tree get scanned.
All feedback is appreciated --- Thanks.
Beta Was this translation helpful? Give feedback.
All reactions