"Backing up IIS7 configuration is as simple as copying the \windows\system32\inetsrv\config directory (and subdirectories) into a backup directory, so you don't need anything special to do it. Just include this directory in whatever your OS/content back-up plan is, or write a custom script to do it. To help make managing backups easy, we've added a simple cmd-line option to AppCmd.exe that makes management of backup/restore sets easy."
Backup
%windir%\system32\inetsrv\appcmd.exe add backup "My Backup Name"
Restore
%windir%\system32\inetsrv\appcmd.exe restore backup "My Backup Name"
Delete a backup
%windir%\system32\inetsrv\appcmd.exe delete backup "My Backup Name"
http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx
http://technet.microsoft.com/en-us/library/dd819406.aspx
http://technet.microsoft.com/en-us/library/dd819405.aspx
0 comments: