Sunday, July 27, 2014

How to Set Up DFS Replication in Windows Server 2012 R2

DFS Replication is an effective way to replicate data between servers across a room or on the other side of the world. DFS Replication uses remote differential compression (RDC) to replicate only the changes in a file on a block by block basis instead of replicating the entire file. Consequently, replication is very efficient even across limited bandwidth connections.

Before setting up replication between servers, the DFS Replication roles need to be installed on each server that is going to participate in the replication group.

Installing the DFS Replication Role

Open Server Manger by clicking on the Server Manager icon on the task bar

On the Welcome Tile, under Quick Start, click on Add roles and features to start the Add Roles and Features Wizard. If there's no Welcome Tile, it might be hidden. Click View on the menu bar and click Show Welcome Tile.

Read and click Next.

Select Roll-based or feature-based installation and click Next.

Select Select a server from the server pool and select the server on which you want to install DFS Replication. Click Next.

Under Roles, expand File and Storage Services, expand File and iSCSI Services, select DFS Replication and click Next.

If you have not already installed the features required for DFS Replication, the following box will pop up explaining which features and roles will be installed along with DFS Replication.

Click Add Features.

Back to the Select server roles dialog. It should now show DFS Replication as checked along with the other roles required for DFS Replication. If everything looks ok, click Next.

The Select features dialog shows the features that will be added along with the DFS Replication role. Click Next.

Review and confirm what's being installed and click Install.

Click Close when the installation completes.

Now that the DFS Replication role is installed, we can set up replication.

Configuring Replication Between Two Servers

Go to the start menu.

Click on Administrative Tools.

Double click DFS Management to launch the DFS Management management console.

Right click on Replication in the left pane of the DFS Replication management console.

Select New Replication Group to launch the New Replication Group Wizard.

Click the Replication group for data collection radio button and click Next.

Enter a descriptive and unique name in the Name of replication group text box. By default the Domain box contains the domain name of the server you're working with. Enter a different domain name if necessary.

Enter the name of the server containing the data you wish to replicate in the Name text box and click Next.

Click Add to define the folders that contain the data you want to replicate.

Enter or browse to the path of a folder to replicate in the Local path of folder to replicate text box. You can enter a custom name to represent the folder or leave it set as the default. Click OK.

The folder just added should be in the Replicated folders box. Click Add to add more folders to replicate (folders can be added later). When all the folders are added, click Next.

Enter the name of the server that will be the target for the replicated data. Servers in replication groups must be in the same Active Directory domain. Click Next.

Enter or browse to the path on the destination server where the replicated data is to reside in the Target folder text box. Verify the replication flow in the Source and target locations box and click Next.

There are two methods of bandwidth utilization that DFS Replication can use.

The first is continuous replication. Where replication takes place 24/7. The amount of bandwidth that replication consumes can bet set to full or one of few selections.

The second method is to schedule replication. Scheduled replication can be set to not replicate data during certain times and/or days of the week or at full or limited bandwidths. Replication can be set to replicate at a lower bandwidth during business hours, when network utilization is high, and full bandwidth at night and weekends for example.

Replication bandwidth tuning can be broad with continuous replication or finely tuned by scheduling. It should not be needlessly complex. Try and keep it as simple as possible and only as complex as needed.

Once the replication bandwidth is set, click Next.

Review the replication group settings and click Create.

Read the dialog about replication delay and click OK.

Back in the DFS Management management console we see the newly created replication group. Replication will begin once the changes have been pushed to all the servers. Eventually, depending on bandwidth, etc., data will start showing up in the target folder on the destination server. Enjoy!


  1. Thanks for that information. I tested this in my lab and am trying to determine what role AD plays in this. After creating the Replication Group I found that it creates the following objects in AD:


    What role do these play in the replication group from a supportability perspective? I am trying to determine any type of troubleshooting required that involves those objects? Thank you.

  2. Hi, Thanks for the steps.
    Couple of questions,

    a) Is there any possible to force a Full Sync from One server to the other server ?
    b) What happens if we we keep the connection status from remote/second server to the main/first server disabled and then few files got deleted from the second server ?

  3. could you please tell pe how to add different servers to the same active directory ???!!!!

    1. Promote the servers as backups in the same forest in case you never found your answer

  4. Excellent and clear to understand.

  5. thank you so much! first DFS just worked!

  6. Very Help full clear and right to the point i give all stars ;-)Just follow instructions and it works. TU

  7. its very good technical inputs for beginners to understand easily.

  8. Very nice blog and articles. I am realy very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post.

    Data Science Course

  9. I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job !

    Data Science Training

  10. I found a great article here.I are certain to become straight back. I only added your website on my own bookmark websites. thanks. Quality articles could be your vital to encourage the traffic to see the internet page, so which is exactly what this internet site is currently providing.
    Learn PMP training in Hyderabad

  11. Fantastic blog with top quality information found very valuable thanks for sharing.
    Data Science Training in Hyderabad

  12. I will very much appreciate the writer's choice for choosing this excellent article suitable for my topic. Here is a detailed description of the topic of the article that helped me the most.
    unindent does not match any outer indentation level

  13. I'm glad I found this blog! Occasionally, students want to know the keys to writing productive literary essays. Your first-class knowledge of this great job can become a suitable foundation for these people. Good
    unindent does not match any outer indentation level python

  14. I am a new user of this site, so here I saw several articles and posts published on this site, I am more interested in some of them, hope you will provide more information on these topics in your next articles. PMP Certification in Hyderabad

  15. Amazing article with very informative information found very useful and enjoyed reading it thanks for sharing.
    Data Analytics Course Online

  16. On this site I always buy youtube views for my video. And advise you to make video tutorial and buy yutube views too

  17. Really impressed! Everything is a very open and very clear clarification of the issues. It contains true facts. Your website is very valuable. Thanks for sharing.

    Business Analytics Course in Bangalore

  18. This post is great. I really admire your post. Your post was awesome. data science course in Hyderabad

  19. Thank you so much for shearing this type of post.
    This is very much helpful for me. Keep up for this type of good post.
    please visit us below
    data science training in Hyderabad


  20. I finally found a great article here. I just added your blog to my bookmarking thank you.
    Data Science Course in Bangalore

  21. Top quality blog with unique content and information shared was valuable looking forward for next updated thank you
    Ethical Hacking Course in Bangalore

  22. I have to search sites with relevant information ,This is a
    wonderful blog,These type of blog keeps the users interest in
    the website, i am impressed. thank you.
    Data Science Course in Bangalore

  23. Happy to visit your blog, I am by all accounts forward to more solid articles and I figure we as a whole wish to thank such huge numbers of good articles, blog to impart to us.
    data scientist course


  24. It's really nice and meaningful. it's a really cool blog. Linking is a very useful have really helped lots of people who visit blogs and provide them useful information.
    Best Digital Marketing Institute in Hyderabad

  25. I am another client of this site so here I saw different articles and posts posted by this site,I inquisitive more enthusiasm for some of them trust you will give more data on this points in your next articles.
    data scientist certification

  26. Fantastic blog with excellent information and valuable content just added your blog to my bookmarking sites thank for sharing.
    Data Science Course in Chennai

  27. I really enjoy every part and have bookmarked you to see the new things you post. Well done for this excellent article. Please keep this work of the same quality.
    Artificial Intelligence course in Chennai

  28. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.

    business analytics course

  29. Excellent site with great content and very informative. I would like to thank you for the efforts you have made in writing.
    Data Science Training in Bangalore

  30. Fantastic Site with useful and unique content looking forward to the next update thank you.
    Data Science Training in Hyderabad

  31. I am overwhelmed by your post with such a beautiful subject. I usually visit their blogs and update myself through the information they contain, but today's blog would be most appreciated. Well done!
    Data Analytics Courses in Bangalore

  32. It's good to visit your blog again, it's been months for me. Well, this article that I have been waiting for so long. I will need this post to complete my college homework, and it has the exact same topic with your article. Thanks, have a good game.
    Data Science Certification in Bangalore

  33. A good blog always contains new and exciting information and as I read it I felt that this blog really has all of these qualities that make a blog.
    Data Science Training in Pune


  34. I think I have never seen such blogs before that have completed things with all the details which I want. So kindly update this ever for us.

    business analytics course

  35. It is late to find this act. At least one should be familiar with the fact that such events exist. I agree with your blog and will come back to inspect it further in the future, so keep your performance going.
    Data Science Course in Pune

  36. "Very Nice Blog!!!

    Please have a look about "
    data science malaysia