Back Up IIS configuration

I’m always looking for this info so I’ll post it here. To back up, list, and restore the configuration of IIS 7, IIS 7.5, IIS 8.0, or IIS 8.5, use appcmd as described in MSKB 954872. In brief:

cd %Windir%\system32\inetsrv
appcmd list backup
appcmd add backup " backupName"
appcmd list backup
appcmd /?

The custom backups are stored in this folder:


You will also see the automatically-created configuration history backups, explained here. Those backups are in this folder:


Leave a Reply

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

Notify me of followup comments via e-mail. You can also subscribe without commenting.

This site uses Akismet to reduce spam. Learn how your comment data is processed.