Link to home
Create AccountLog in
Avatar of antonioking
antoniokingFlag for United Kingdom of Great Britain and Northern Ireland

asked on

DFS subfolder filter (multiple subfolders)

I have 1 folder I would like to replicate using DFS.

Inside this folder are 3 subfolders.
I would like to exclude 2 of the subfolders from replication.

How do I achieve this.
As far as I am aware the subfolder filter is only designed to filter one folders name
Avatar of Chris
Chris
Flag of United Kingdom of Great Britain and Northern Ireland image

The subfolder filter can support multiple folders no problem. Just in case, the procedure is as follows:

Open DFS Management.
Expand Replication Group
Click "Replicated folder" tab.
Right click the relevant folder and click properties.
Under the general tab there is a subfolder filter.
Add the folder names in the format "Folder1,Folder2" (No quotes, do not use full paths).
Run "dfsrdiag pollad" on all replication partners (this forces the DFSR service to pick up and apply configuration changes immediately).
Avatar of antonioking

ASKER

According to microsoft documentation you should not use commas to seperate folder names.
I can't find any other instructions on what you should use instead?

Your instructions above... do they work for you?
ASKER CERTIFIED SOLUTION
Avatar of Chris
Chris
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Perfect, replication has begun and i can see my excluded folder names are missing.
Shame you can only filter names and not specific locations.
Yup, it is, unfortunately, an annoying limitation of DFS. If you ever find a workaround, let me know ;-)

As this question is now answered, could you mark it as such?

Cheers.