How to Back Up an IIS 7 Configuration
Applies To: Operations Manager 2007 R2, Operations Manager 2007 SP1
Operations Manager 2007 SP1 or Operations Manager 2007 R2 can run on both Windows Server 2003 and Windows Server 2008. This means that you may have to back up either the IIS 6 metabase or the IIS 7 configuration, depending on the operating system that is being used. This procedure tells you how to back up the IIS 7 configuration. The IIS 7 configuration is split between the web.config files and the applicationHost.config files. You should follow IIS 7 recommendations on how to back up the configuration in the web.config files. The applicationHost.config files include configuration information for the sites, applications, virtual directories, application pool definitions, and the default configuration settings for all sites on the Web server.
To back up the IIS 7 configuration from a command prompt
Log on to the Windows Server 2008 computer that is hosting the Operations Manager 2007 components with an account that has administrator rights.
Open a command prompt by using the Run as Administrator option and change directory to %windir%\system32\inetsrv.
At the command prompt, type appcmd add backup <backupname>. If you do not include the name of the backup, the system will name it for you by using a date, time format.
For more information about the IIS 7 appcmd.exe command and how to use it, see the “IIS 7.0: Appcmd.exe” topic in the IIS 7.0 Operations Guide (http://go.microsoft.com/fwlink/?LinkId=150156).