Back up and Restore IIS configuration from a command prompt
- 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.
BACKUP “My Backup Name”