anthony1 :
Apr 22, 2020
Hi,
I am trying to sync 2 x profile servers.
Profiles contain everything a user does on a network session, for instance my documents, desktop, recent documents etc. It also caches content which is massive in size and file count (teams cache, onedrive cache, dropbox cache etc).
I know which folders I want to sync for all users:
D:\Profiles\john.smith\Desktop
D:\Profiles\john.smith\Documents
D:\Profiles\john.smith\appdata\roaming\Microsoft\signatures
D:\Profiles\john.smith\appdata\roaming\Microsoft\templates
I know which folders I want to exclude for all users:
D:\profiles\john.smith\appdata\roaming\dropbox
D:\profiles\john.smith\appdata\roaming\teams
D:\profiles\john.smith\appdata\roaming\OneDrive
What I dont know is how do i create the exclusions to pass the "username" component? The profiles in reality are named like:
D:\profiles\Anthony.Banana\...
D:\profiles\Carlos.Danger\...
D:\profiles\Felix.Frankson\...
Except there are a few hundred more.
So I can't create exclusions for each of them.
Any help is apprecaited.
Anthony
1
Alex Pankratov :
Apr 22, 2020
Just use wildcarded rules.
Assuming that your source path is D:\Profiles you will just need to
1. "Start with an empty list"
2. Add a set of wildcarded rules for what you want included
Include Folder .\*\Desktop
Include Folder .\*\Documents
...
The .\ at the front of the pattern forces it to be matched from the top of the source folder, i.e. the first one will match D:\Profiles\abc\Desktop, but not D:\Profiles\Profiles\xyz\Desktop
There are also two topics that cover how filtering works in general and how pattern (path/name) matching works in particular -
https://bvckup2.com/support/forum/topic/972
https://bvckup2.com/support/forum/topic/499/2946