Solved

Two Way sync between  two remote sites

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
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…
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.

808 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