Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5849
  • Last Modified:

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
0
antonioking
Asked:
antonioking
  • 3
  • 2
1 Solution
 
ChrisCommented:
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).
0
 
antoniokingAuthor Commented:
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?
0
 
ChrisCommented:
I believe what you're referring to is the line:

"You cannot use a comma in a filter because commas are used as delimiters"

All this means is that commas can't be used in the folder name because commas are used as a delimiter to seperate the folders.

In response to your question, this works for me flawlessly.
0
 
antoniokingAuthor Commented:
Perfect, replication has begun and i can see my excluded folder names are missing.
Shame you can only filter names and not specific locations.
0
 
ChrisCommented:
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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now