I am running a Samba PDC with both home directories and Win7 (roaming) profiles under '/home', i.e.:
/home/[user name]
/home/samba/profiles/[user name]/win.V2
For backup purposes (duplicity 0.6.18 on Debian 7.6), I am only interested in a user's home directory and the respective 'Documents' profile folder. My exclude globbing filelist looks like this:
+ /home/samba/profiles/*/win.V2/Documents
- /home/samba
However, this won't work. I do get all of my home directories but none of the profile folders. Naming each profile path specifically will do the trick; however, this gets tedious pretty fast with 30+ users:
+ /home/samba/profiles/[user1]/win.V2/Documents
+ /home/samba/profiles/[user2]/win.V2/Documents
ad. lib.
It looks as if the '*' shell expansion doesn't, well, expand in this specific case. I tried a couple of profile-only runs using the same notation which yielded the desired result. What am I missing here?
Any pointers greatly appreciated!
Mike