How to implement Robocopy for file replication?

Posted on 2011-04-20
Last Modified: 2012-05-11
Hey all,

     We have this issue we need to deal with, at least, short-term, and right away, by setting up file replication between two server shares, on servers in different locations. We have reasons that we cannot yet upgrade to 2008 R2 server, which is more what we've been used to in recent years. The 2 servers are currently Windows 2003 SP2. (Not 2003 R2). One of them is basically a file server. The other has AD and Exchange 2003.

So, we cannot use DFS, and FRS has concerns. Not sure yet if we want to consider upgrading to 2003 R2. Robocopy seems like it might be an option. We need to keep the server shares in sync, in one direction, as much/often as possible.

Anyone know of some good documentation that makes it easy, so this can go quickly and confidently, and allow us to keep these two shares in sync?

 Thanks in advance!
Question by:gs-rho
    LVL 3

    Assisted Solution

    Schedule on two nodes.
    robocopy (source_path) (dest_path) /E /ZB /COPYALL /LOG:mylogfile.txt /TEE /XN

    Open in new window

    robocopy /?
    echoes complete documentation +)
    LVL 5

    Expert Comment

    If you need a little something more automated with a few more options i have used the folllowing before

    LVL 32

    Accepted Solution

    I use this all the time in batch scripts. Take a look at this post I helped another EE member with

    Let me know if you have any further questions on it's usage.
    LVL 40

    Assisted Solution

    by:Jackie Man
    LVL 32

    Expert Comment

    Hi have you had a chance to look at my answer here ? Http:#35439593

    Author Comment

    Just going through all these. Great info, guys. I'll get back to you.

    Author Comment

    Lots of great help!

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now