Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm here on a new server and want to recover the IIS Role, the old server is as a backup (rsync copy) on a second drive. Anyone know how to recover the IIS from a Directory?

The Server is a Windows Server 2008 R2 in a Domain.

share|improve this question
up vote 1 down vote accepted

IIS7+ utilizes XML configuration files so recovering IIS is fairly straight forward. However, the easiest way if the old server is still online is to perform a backup and then restore it on the new server.

However, you should also be able to find the XML config files manually and copy them.

share|improve this answer
THX for your Answer, it is impossible to recover the whole IIS from a offline HD copy, i can copy the Files but then IIS has wrong encryption Key and the Certificates are also wrong. I recover the IIS step by step from hand and make a Backup with webdeploy. – kockiren Jul 11 '12 at 9:27
Unless you use a higher level backup tool like system restore then yes, you will have to manually go through and recover each part of the server. Certificates are managed by Windows and are easy to export/import. The machine key on the other hand is a problem. You cannot easily extract this, and all of your encryption in a .NET app by default is based on this key. It is HIGHLY recommended that you specify a specific machine key for each application in a web.config file. – Brent Pabst Jul 11 '12 at 12:42
Now i import the Config with "appcmd.exe restore backup CFGHISTORY_00x" and then the IIS run in the old config but with wrong key. So i go to a new Server and recover the IIS step-by-step. And now i make a Backup with msdeploy every Day to an backupserver :-) – kockiren Jul 11 '12 at 14:58

Your Answer


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.