This article describes how to create, list, restore, and delete configuration backups in Internet Information Services (IIS) 7.0.

More Information


In IIS 7.0, you can create and manage configuration backups by using the Appcmd.exe tool. By default, the configuration backups that you create by using the Appcmd.exe tool are located in subfolders in the %SystemDrive%\Inetpub\History directory.

How to create a configuration backup

To create a configuration backup by using the Appcmd.exe tool, follow these steps:

  1. Click Start, click Run, type cmd in the Open box, and then click OK.
  2. At a command prompt, type the following commands, and then press ENTER:
    cd %Windir%\system32\inetsrv

    appcmd add backup backupName

    Note
    A directory that has the backup name that you specify is created in the
    %Windir%\system32\inetsrv\backup directory. If you do not specify a
    name, the Appcmd.exe tool generates a directory name by automatically
    using the current date and the current time.

How to list the existing configuration backups

To list the existing configuration backups by using the Appcmd.exe tool, follow these steps:

  1. Click Start, click Run, type cmd in the Open box, and then click OK.
  2. At a command prompt, type the following commands, and then press ENTER:
    cd %Windir%\system32\inetsrv

    appcmd list backup

How to restore a configuration backup

To restore a previous configuration backup by using the Appcmd.exe tool, follow these steps:

  1. Click Start, click Run, type cmd in the Open box, and then click OK.
  2. At a command prompt, type the following commands, and then press ENTER:
    cd %Windir%\system32\inetsrv

    appcmd restore backup backupName

How to delete a configuration backup

To delete a configuration backup by using the Appcmd.exe tool, follow these steps:

  1. Click Start, click Run, type cmd in the Open box, and then click OK.
  2. At a command prompt, type the following commands, and then press ENTER:
    cd %Windir%\system32\inetsrv

    appcmd delete backup backupName

Note
The configuration backup features back up only the information that is
contained in the root ApplicationHost.config file. The configuration
backup features do not back up the information that is contained in the
distributed Web.config files that exist within the content folders of
the Web sites.

 

How to create and manage configuration backups in Internet Information Services 7.0的更多相关文章

  1. openStack Use Orchestration module(heat) create and manage cloud resources

  2. springsecurity启动出现org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You must use a 3.0 schema with Spring Security 3.0.

    在换了spring-security的jar包以后启动出现org.springframework.beans.factory.parsing.BeanDefinitionParsingExceptio ...

  3. Loadrunner问题:Monitor name :Windows Resources. Cannot create measurement Processor|% Processor Time|_Total on machine 192.168.0.1

    说明: 在Loadrunner监控windows系统资源的时候,在添加好windows Resources后运行发现报如下错误: int: Check that there is such a mea ...

  4. magento: Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside 解决方案

    在linux(以UBUNTU, CENTOS为例)下安装完成magento时,在进入后台时, 有些童鞋可能会发现有如下的提示: Your web server is configured incorr ...

  5. [Node.js] Manage Configuration Values with Environment Variables

    Storing configuration in files instead of the environment has many downsides, including mistakenly c ...

  6. Create My MySQL configuration by Percona

    本文地址:http://www.cnblogs.com/yhLinux/p/4013065.html https://tools.percona.com/ Percona是一款在线自动生成MySQL配 ...

  7. Create Shortcut to Get Jar File Meta Information

    You have to get meta information of cobertura.jar with command "unzip -q -c cobertura.jar META- ...

  8. Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default}) (state=08S01,code=0)

    sparksql 2.和hive2.1.1 由于sparksql中的hive-cli 等包的版本是1.2的需要自己下载,下载替换之后不报错,替换之前做好备份

  9. Create an op on tensorflow; 在tensorflow 1.7/2.0 中创建一个 Op操作

    最近项目,需要创建一个 tensorflow 的一个自定义操作,用来加速tensorflow的处理效果:下面对创建过程中,遇到的问题和资源进行简要记录,进行备忘: OP 创建 参考链接: https: ...

随机推荐

  1. 关于sqlSessionTemplate

    SqlSessionTemplate是MyBatis-Spring的核心.这个类负责管理MyBatis的SqlSession,调用MyBatis的SQL方法,翻译异常.SqlSessionTempla ...

  2. Volley 的使用以及自定义Request

    Volley 的使用以及自定义Request 一.什么是 Volley 2013年Google I/O大会上推出了一个新的网络通信框架.Volley是Android平台上的网络通信库,能使网络通信更快 ...

  3. java关于Timer schedule执行定时任务 !!!!!!!!!

    1.在应用开发中,经常需要一些周期性的操作,比如每5分钟执行某一操作等.对于这样的操作最方便.高效的实现方式就是使用java.util.Timer工具类. private java.util.Time ...

  4. bat脚本中timeStamp解决方案

    之前做了个工具包,用了timeStamp做文件名. 一般来说最简单的代码类似于: set timeStamp=%date:/=-%_%time% echo %timeStamp% >2018-0 ...

  5. 【BZOJ4378】[POI2015]Logistyka 树状数组

    [BZOJ4378][POI2015]Logistyka Description 维护一个长度为n的序列,一开始都是0,支持以下两种操作:1.U k a 将序列中第k个数修改为a.2.Z c s 在这 ...

  6. Idea之Tomcat

    安装配置   启动 三种方式,run,debug,coverage       面板说明     上面一排 Debugger:debug模式的时候显示方法,调用关系,参数值等, Server:打印日志 ...

  7. java操作mongoDB数据库的简单实例

    首先导入mongoDB的jar包 http://pan.baidu.com/s/1bnGMJRD //DataBase.java package com.mongodb.test; import ja ...

  8. php strcmp()字典排序

    字典排序(lexicographical order)是一种对于随机变量形成序列的排序方法.其方法是,按照字母顺序,或者数字小大顺序,由小到大的形成序列. 比如,字典中a-z,是依次递增的,a,b,c ...

  9. 初识idea

    http://blog.csdn.net/bitcarmanlee/article/details/54951589 http://blog.csdn.net/haishu_zheng/article ...

  10. tomcat访问管理页面出现:403 Access Denied 解决方法

    点击红色框框出现以下403错误 打开context.xml文件 vim /usr/local/tomcat/webapps/manager/META-INF/context.xml <Conte ...