I am really trying to understand how filtering works via examples and docs, but it just isn’t behaving in a way that I can make work the way I want.
This is my directory tree
+-- os
|
+-- pool1
| |
| +-- wantdir
| +-- dontwantdir
| +-- wantdir2
|
+-- pool2
I do not want os or pool2, but do want everything under pool1 except dontwantdir. So in the end I would backup pool1/wantdir and pool1/wantdir2. I thought something like these would work
-os/
-pool2/
-pool1/dontwantdir/
or
-os/
-pool2/
+pool1/
-pool1/dontwantdir/
but these fail to load anything when backing up with -enum-only. I also tried
+pool1/
+pool1/wantdir/
+pool1/wantdir2/
-*
But this also produces an empty set. I know the backup works in general because if I do this,
-os/
-pool2/
I start to get files listed from pool1, but it has directories I don’t want included.
Ack…I am just not understanding how to make this work. (using the web gui if that matters)