Solved

Two Way sync between  two remote sites

Posted on 2007-12-05
4
2,427 Views
Last Modified: 2012-08-14
I have two sites in two different location, I am using Robocopy to sync the data between these two sites, I been using it for a month now and it is working perfect, but today I discovered that this utility is a one way sync tool. Which means, it only duplicate / mirror the source directory and folder into the destination, and not two way sync.
How I can make it two way sync, in other words I need to copy the files between the two sites and the program should always take the newer copy (they are in two different time zones GMT+2 and GMT-5)! How I can do that?

Thanks
0
Comment
Question by:nammari
[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
  • 2
4 Comments
 
LVL 38

Expert Comment

by:Shift-3
ID: 20413995
Microsoft's SyncToy is a handy tool for this kind of thing.
http://www.microsoft.com/windowsxp/using/digitalphotography/prophoto/synctoy.mspx
0
 

Author Comment

by:nammari
ID: 20414685
I tried that, but it does not copy th e security attributes and it does not handle the slow network wan data transfer.
0
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
ID: 20415039
What about running Robocopy twice -- once in each direction?  Use the /XO switch to exclude older files.

You can test it by using the /L switch until you're sure the results will be right.
0
 

Author Closing Comment

by:nammari
ID: 31412918
I used your script as well as SyncBackSE.. these two solve my problem
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

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