IIS Config Backups

IIS Config Backups

IIS Configuration Backup Contents

  • administration.config
  • applicationHost.config
  • MBschema.xml
  • MetaBase.xml
  • redirection.config
  • schema folder
    • deploymentAuthorizationSchema.xml
    • NetFx40_IIS_schema_update.xml
    • rewrite_schema.xml

IIS Configuration Backup Steps

  • There are no options for backups/restores in the IIS 7/7.5 graphical interface tool
  • How to create a backup of your IIS7/7.5 configuration settings from the command line
    • Open a command prompt to the C:\Windows\System32\inetsrv folder
    • Type "appcmd.exe add backup IIS Backup" or use your own name for the backup
    • Press the <Enter> key to execute the backup of all IIS configuration settings
    • The IIS 7/7.5 backup is added to the C:\Windows\System32\inetsrv\backup folder
  • How to restore your IIS7/7.5 configuration settings from the command line
    • Open a command prompt to the C:\Windows\System32\inetsrv folder
    • Type "appcmd.exe restore backup IISBackup" at the command prompt
    • Press the <Enter> key to execute the restore of the previously saved IIS configuration settings
    • The IIS 7/7.5 backup is restored from the C:\Windows\System32\inetsrv\backup folder

IIS Configuration Backup Guidelines

  • Create a zip version of your C:\Windows\System32\inetsrv\backup folder and subfolders
  • Copy the zip file to another server for future recovery and to rebuild the IIS server

Sources