Solved

Two Way sync between  two remote sites

Posted on 2007-12-05
4
2,416 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
  • 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

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Know what services you can and cannot, should and should not combine on your server.
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 tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

747 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

11 Experts available now in Live!

Get 1:1 Help Now