How To: Cut and Paste Virtual Directories

| | No TrackBacks
It is necessary at times to make a replica of a virtual directory from one IIS-powered server to another. However, the IIS 6 GUI has no tool to perform that. The following could allow to copy a virtual directory from one site to another (running the same IIS Web server).
  • right-click the source virtual directory, choose 'Save Configuration To File'. That copies the chunk of the XML metabase containing the configuration info for the virtual directory
  • after copying the file with saved configuration onto the other server, right-click on it and select 'New', 'Virtual Directory From File', select the file, click 'Read File', select what to import and click 'OK'

Another means is to use Iiscnfg.vbs script to export the virtual directory data from one site and import it on another.

No TrackBacks

TrackBack URL: /blog/mt-tb.cgi/49

blog comments powered by Disqus

About this Entry

This page contains a single entry by Konstantin Boyandin published on December 21, 2009 7:26 PM.

How To: Copying a Web Server Configuration was the previous entry in this blog.

Tips: Metabase Changes Not Applied Immediately is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.