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.
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
The currently equivalent of FolderShare would still work for you if you were running Vista/2008 or newer. It's currently known as Live Sync in the Live Essentials Beta, but it will be renamed to Live Mesh once the new Live Essentials is released. This shouldn't be confused with the older Live Mesh that never made it out of beta. Though technically, this new Live Sync/Mesh is using most of the old Live Mesh code.
You might still be able to use the older Live Mesh Beta that is compatible with XP/2003. But no one knows how much longer they'll keep the service active.
The file/folder limits you read about only apply when you're syncing to the cloud. Peer to Peer connections don't have those limits.
OK, I understand better. So, since you mismatched the needs and requirements (the limit on Windows share session on Web), can you swap the servers? Put the Web Edition into production (where I assume you won't have people tinkering all the time) and put the Standard Edition into your dev environment? Or install something like an FTP server into dev and have your folks move files that way? Or WebDAV, and then mount drives to the WebDAV? – mfinni 0 secs ago edit
Saw this post on your linkedin and figured id chime in. I have the requirement of moving large digital assets around multiple geographical locations. Sound like the machines are sitting right next to each other which makes things easier. Here are a couple ideas off the top of my head with a limited budget (isn't it always).
beyond compare - This is a cheap utility that could synch over ftp getting around your UNC issues.
Virtual SAN on VMware - This would address your block level real time, but seems like an overkill for this situation.
cygwin rsynch - this is more for linux / windows synching, but should work.
Webservice on web edition - installing a simple webservice on the web edition and either push the files as byte arrays over http soap packets (inefficient, but latency would be minimal over a lan) or have the webservice pull from the file server. Not the most elegant but it gets around your problem with relative simplicity.
And DFS isn't realtime. You probably need block-level duplication at your storage layer, which is usually a feature of high-end SAN and NAS units. Can you please describe your actual business requirement? That will help us give you more complete answers.
It's perfectly achievable but not using anything that comes standard with Windows. I don't know of a ready made program to do this but Windows has an API function to monitor files and folders - the same one that allows Windows Explorer to show changes occurring in a file or folder as you watch. If you find nothing suitable I have something I wrote that should be pretty close to what you're after but I'll need to write some docs for it.
Have you thought of using Unison
To tell you the truth I have not used Unison in a Windows environment, only in Linux. It wouldn't hurt to give it a try.
Well, hbe happy with wishfull thinking. As in: does not exist, will never exist.
You need that - get a real time replicated SAN, possibly a LOT more expensive than your IT budget for this decade.
Your best option is DFS-R and that basically means not using web server for the data storage on the server side.