Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So I have a big problem at the moment. Trying to find a reliable solution for syncing 2 windows IIS servers. I need to keep the web content imaged on both. Now I have been trying to use Rsync to this point, but unfortunately file permission errors are a nightmare to manage this way.

I'm testing out dropbox, but the performance sucks. I'm more familiar with Linux stuff and I've used Rsync in the past but isn't there a native windows solution that will work?

share|improve this question
    
possible duplicate of Need a File Sharing and Syncing Solution –  GregD Sep 1 '10 at 14:17
    
Are the servers on the same LAN? WAN? Totally disconnected? Since dropbox isn't cutting it - what are your performance goals? –  Kara Marfia Sep 1 '10 at 14:51
add comment

2 Answers

Using what you have you could use xcopy or robocopy (I don't remember only one or the other does it, or if both do) running in a scheduled task to copy just the differeces.

Alternately, you could set up a DFS location (or any mapped network location, really; mapped drive, etc) to host the shared files, and point IIS to the new folder location.

share|improve this answer
    
Robocopy with the mirror command. Or rich copy (the robocopy gui) blogs.technet.com/b/keithcombs/archive/2009/03/22/… DFS imo is too slow as well. –  Kvad Sep 3 '10 at 3:44
    
DFS may be slow (I actually haven't used it in some time), but it is automatic. You would have to set up a scheduled task manually to do the xcopy/robocopy. Another reason to use DFS is that it helps you scale; if you throw a new IIS server into the mix, you then have to continually add the scheduled tasks to it, or just point the new one towards the same DFS mount. –  gWaldo Sep 3 '10 at 12:11
1  
Being pedantic, DFS generally refers to the ability to create DFS namespaces. DFSR on the other hand is the service introduced with Server 2003 R2, which should be a good solution to this problem. Despite the name, DFSR doesn't require DFS to work. It's worth making the distinction between DFSR and DFS, as DFS can use either DFSR or NTFRS as the replication technology. If you're only choice is NTFRS, don't bother, however DFSR is by far the best replication solution I've used on any platform. We replicate >250Gb over slow WAN links, and it works very well. Changes replicate almost instantly. –  Bryan Jun 6 '12 at 22:33
add comment

I've used mirrorfolder and had very good luck with it. Lots of options for syncing your servers with it.

share|improve this answer
add comment

Your Answer

 
discard

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.