Solved

Mirror a folder from one location to another location

Posted on 2014-09-09
4
243 Views
1 Endorsement
Last Modified: 2014-09-14
I would like to mirror a folder from one of the server here in UK (\\ABC\CDE\XYZ) to a Server in USA (\\ABC\CDE\XYZ). Current plan is to use Robocopy and run it as a batch file using Task scheduler every 30 minutes, Using a local server in the LAB (Its running 24/7 some access rights to the server needs to be sorted out).
 
Basically I need some help to redefine the Robocopy script with all possible additional options (Ex: time stamps from source folder, Copy on deleted/ modified files, Dealing with a locked file, Make a zip backup copy of source before each run) And any other better and simple method to accomplish the same task
1
Comment
Question by:Sekar Chinnakannu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Assisted Solution

by:rhandels
rhandels earned 125 total points
ID: 40311665
Why would u use Robocopy if you would actually like to sync information??
It would be an option to go for DFRS, the following link is a good way to start.

Problem with robocopy is that is it less failsafe then actually syncing the information using Microsoft technology.
The only thing you do need is a DFS implementation but this is really easy and straightforward to implement.

http://technet.microsoft.com/en-us/library/jj127250.aspx
0
 
LVL 27

Assisted Solution

by:Dan McFadden
Dan McFadden earned 250 total points
ID: 40311673
Have you looked into SyncBack from http://www.2brightsparks.com/?  They offer a freeware version that give you enough functionality to accomplish the items you mentioned above.

You can also setup a regular schedule of a job profile, thru SyncBack, that configures a scheduled task.

Dan
0
 
LVL 27

Accepted Solution

by:
Dan McFadden earned 250 total points
ID: 40311685
I agree with rhandels that you could use DFS as a solution.  But there tends to be some overhead in implementing DFS like installing the feature on all servers to support DFSR, Schema updates, potential AV compatibility issues, troubleshooting when an issues occurs...

DFS may be a bit overkill for simple file sync requirements between 2 servers.

Dan
0
 
LVL 11

Assisted Solution

by:Pradeep Dubey
Pradeep Dubey earned 125 total points
ID: 40320625
you may use below command to mirror the folder (it may be drive or folder based on the given source)
use below robocopy command:

robocopy "Source folder path" "Destination folder path" /MIR /SEC /TEE

If you need more switchs please take a look at below link:

1) http://technet.microsoft.com/en-us/library/cc733145.aspx
2) http://ss64.com/nt/robocopy.html
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!

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

763 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