Iis7 site configuration backup and Restoration

Source: Internet
Author: User

(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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.