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


How to implement Robocopy for file replication?

Posted on 2011-04-20
Medium Priority
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

Assisted Solution

yadaya earned 540 total points
ID: 35438637
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 +)

Expert Comment

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


LVL 32

Accepted Solution

nappy_d earned 800 total points
ID: 35439593
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.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 52

Assisted Solution

by:Jackie Man
Jackie Man earned 660 total points
ID: 35445640
LVL 32

Expert Comment

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

Author Comment

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

Author Comment

ID: 35733643
Lots of great help!

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

569 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