Backup metadata in IIS7

To backup the metadata data in IIS7 use

appcmd.exe add backup backupname

to restore

appcmd.exe restore backup backupname


appcmd can be find in \Windows\System32\inetsrv

The commands actually copy the \windows\system32\inetsrv\config\applicationhost.config xml file

The backups are stored under \windows\system32\inetsrv\backup\backupname