Windows Server Real-Time Directory Replication

mirroringreplicationwindowswindows-server-2003

The environment

  • Windows 2003 R2 Standard File server
  • Windows 2003 Web Edition server

The challenge

Need a way to mirror a directory (or share) from the file server to the web server. It needs to be "kinda real-time" with changes synced in a matter of seconds, not minutes. The two servers are on the same gigabit LAN.

We're looking at one directory with about 10K files in just shy of 500 sub-directories (not quite 2GB total size). A one-way deal is fine, all changes should be happening on the file server.

What would you suggest or what have you used in similar situations? Relatively inexpensive (or free!) would be preferred if possible.

Note: DFS-R isn't an option since Microsoft Web Edition never got the R2 option. The older DFS/FRS has caused me too much grief in the past, so no go there either.

Another Note: We used Microsoft's FolderShare to something very similar to this 4 or 5 years ago. Worked great! Alas, it got folded into Windows Live Sync and that appears to have a 20 folder limit.

Best Answer

As Clint mentioned in his comment, Robocopy might do the job for you if you need near real time file synching. Here's a snippet of some of the options available:

/mon: Monitors the source, and runs again when more than N changes are detected.

/mot: Monitors source, and runs again in M minutes if changes are detected.

For the full list of options and parameters see here:

http://technet.microsoft.com/en-us/library/cc733145(WS.10).aspx