Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I do not know for sure if this is the correct location to post this, but I am looking for software or a script to be able to do what I am wanting... or if anyone has anything better.

In short, there is a file that gets updated on a server. I need this file to be synced with an exact duplicate on another server off site (if the file is not there it will create it). If the "primary" server goes down for this file, which I want to be able to set, then the connections to that file from an a 3rd server will automatically move to the offiste file.

I do not know if there is a product that provides this functionality. Much of what we do is written in scripts, although I personally have no scripting knowledge. Any help would be much appreciated.

If a server goes offline, then obviously the file at the other server will have the latest update. This file then has to be the one that is considered "primary" and the other file gets updated by this one. In short, the latest update always wins.

This is on Windows 2003 or windows 2008 servers.

Thank you,

share|improve this question

migrated from Jul 20 '11 at 3:11

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

If you have a secure permanent connection between the two sites (vpn) then I'd look at using Distributed File System Replication (DFSR) service available in both windows server 2003 and windows server 2008. Part of the File Services Role.

DFSR Overview

Replication groups and replicated folders

DFS Replication: Frequently Asked Questions (FAQ)

share|improve this answer
Great! Thanks for your help! – Patrick Aug 22 '11 at 14:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.