How to copy IIS configuration to another server

In case that you ever wanted to migrate IIS from one server to another with all sites, application pools, etc. this is a very simple solution for that.

First you open Internet Information Services in mmc (Microsoft Management Console) and with right click on it you go on Backup/Restore. Create new backup, name it with something familiar and set password on it.

Now when backup is done you will see it in the list of backups.

Next step would be to open directory C:\Windows\System32\inetsrv\MetaBack and find there two files with extensions MD0 and SC0. Copy these two files to some media (network, usb, floppy, etc.) and transfer them to same directory on another server.

Restore process is the same like for a backup, take Backup/Restore from Internet Information Services in mmc (Microsoft Management Console) and in the list of backups you will see your backup as well. Click on it, take restore, confirm yes that existing configuration will be deleted and write password when asked.

Voila. Now you have two identical IIS servers.

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • PDF
This entry was posted in Tips and tricks. Bookmark the permalink.

One Response to How to copy IIS configuration to another server

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>