(1) backup
(1) iis7 will automatically back up the configuration to C before each operation on the site in iis7 (for example, adding, deleting, and modifying) takes effect: \ Inetpub \ history, which is automatically numbered in chronological order;
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/28/907015_14092191573wJ7.png "Height =" 301 "/>
(2) or use the CMD command for manual backup;
Switch to the c: \ windows \ system32 \ inetsrv \ directory and run. \ appcmd Add backup "config20140828 ";
Manually backup files are stored in the c: \ windows \ system32 \ inetsrv \ backup folder;
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/28/907015_1409219158PwZl.png "Height =" 155 "/>
(2) Restoration
Delete two test applications;
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/28/907015_1409219161wSfE.png "Height =" 290 "/> 650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/28/907015_1409219162mM8R.png "Height =" 289 "/>
(1) switch to the c: \ windows \ system32 \ inetsrv \ directory and execute. \ appcmd list backup to list all available backups;
(2) switch to the c: \ windows \ system32 \ inetsrv \ directory and execute. \ appcmd restore backup "config20140828" to restore the site configuration;
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/28/907015_1409219163Jnl8.png "Height =" 237 "/>
(3) The restoration effect is as follows:
650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/28/907015_1409219162mM8R.png "Height =" 289 "/> 650) This. width = 650; "Title =" image "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/28/907015_1409219161wSfE.png "Height =" 290 "/>
Reference URL: http://technet.microsoft.com/zh-cn/library/cc730918 (V = ws.10). aspx
This article from the "fate with wishes" blog, please be sure to keep this source http://281816327.blog.51cto.com/907015/1546251
Iis7 site configuration backup and Restoration