Solved

Mirror directories between servers in IIS?

Posted on 2007-03-29
3
808 Views
1 Endorsement
Last Modified: 2012-06-27
Experts,

I have two web servers that are hosted in two different locations.  I have a number of files that I would like to share between the two servers.  Both servers run the latest version of IIS.

Currently whenever I make changes to certain files on my first web server I have to manually copy those files onto the other server.  Is there any way to "mirror" a directory from one web server onto another?  Ideally when I update the files on one web server I would like them to be updated automatically on my other server (even if there is a delay of a few hours that would be better than nothing).  Thanks!
1
Comment
Question by:greatseats
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 1

Accepted Solution

by:
pettersk earned 500 total points
ID: 18819191
If the two webservers are available via a LAN/WAN or have a VPN connection through the internet you should be able to use either:
a) Microsoft RoboCopy (a free utility from Microsoft) which will do the copy job

        http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
        http://www.microsoft.com/technet/technetmag/issues/2006/11/UtilitySpotlight/default.aspx

b) If the two servers are members of an Active Directory you can use DFS - Distributed File System

http://technet2.microsoft.com/WindowsServer/f/?en/library/9896c017-3c19-44e4-b73b-54c2821b88ae1033.mspx

Hope this helps...
0
 
LVL 1

Expert Comment

by:pettersk
ID: 18819258
In fact you also have (at least) a third and a fourth method with MS technology:

A) Using BITS - Background Intelligent Transfer Service, but you do have to have BITS installed and
     enabled on both webservers - don't know if you have the option of installing it or getting it installed.
   
     A very good article on BITS is here:
             http://www.simple-talk.com/dotnet/.net-tools/using-bits-to-upload-files-with-.net/

     Some MS information:
             http://msdn.microsoft.com/library/en-us/bits/bits/setting_up_the_server_for_uploads.asp?frame=true


B) Using plain old fashioned FTP and some scripts to do the job
0
 
LVL 1

Expert Comment

by:pettersk
ID: 18819299
There is even the option of using RSYNC:

       http://en.wikipedia.org/wiki/Rsync

Although this is a Unix/Linux thing originally there are several utilities providing this on Windows and you could even use Cygwin to accomplish this .... depening on the environment and control/access you have to the webservers....
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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