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.

How to export/import configuration of my IIS server into/from a single file? The reason is that I want to put the configuration under version control system to track changes made by admins.

Sultan

share|improve this question

migrated from stackoverflow.com Jun 29 '11 at 11:01

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

up vote 4 down vote accepted

IIS7's configuration data is stored in a bunch of XML config files in:

%SYSTEMROOT%\System32\inetsrv\config

There are still some settings that are registry bound and they can be found under:

HKLM\Software\Microsoft\InetStp\Components

and

HKLM\Software\Microsoft\WebManagement\Server

The approved way of backing up IIS7's configuration is by using the APPCMD BACKUP command. You can find out more about this command by running APPCMD BACKUP /? from an Administrator command prompt.

You can find out more about APPCMD BACKUP here:

Getting Started With APPCMD.EXE - Managing Backups

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.