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. @RequestMapping 注解

    @RequestMapping 注解开发者需要在控制器内部为每一个请求动作开发相应的处理方法.org.springframework.web.bind.annotation.RequestMappin ...

  2. 【BZOJ4382】[POI2015]Podział naszyjnika 堆+并查集+树状数组

    [BZOJ4382][POI2015]Podział naszyjnika Description 长度为n的一串项链,每颗珠子是k种颜色之一. 第i颗与第i-1,i+1颗珠子相邻,第n颗与第1颗也相 ...

  3. flex组合流动布局实例---利用css的order属性改变盒子排列顺序

    flex弹性盒子 <div class="container"> <div class="box yellow"></div> ...

  4. ios开源东西

    今天,我们将介绍20个在GitHub上非常受开发者欢迎的iOS开源项目,你准备好了吗? 1. AFNetworking 在众多iOS开源项目中,AFNetworking可以称得上是最受开发者欢迎的库项 ...

  5. 160722、Javascript函数节流

    最近在做网页的时候有个需求,就是浏览器窗口改变的时候需要改一些页面元素大小,于是乎很自然的想到了window的resize事件,于是乎我是这么写的 <!DOCTYPE html> < ...

  6. 高性能Web开发系列

    1. 高性能WEB开发基础 http://www.uml.org.cn/net/201404225.asp 2. 高性能WEB开发进阶(上) http://www.uml.org.cn/net/201 ...

  7. hdu 1159 Common Subsequence 【LCS 基础入门】

    链接: http://acm.hdu.edu.cn/showproblem.php?pid=1159 http://acm.hust.edu.cn/vjudge/contest/view.action ...

  8. 【总结】两种 NIO 实现:Selector 与 Epoll

    时间2012-11-17 08:38:42 开源中国新闻原文  http://my.oschina.net/ielts0909/blog/89849 我想用这个话题小结下最近这一阶段的各种测试和开发. ...

  9. 综合: Java 对象初始化过程

    class Fu { Fu() { show(); } void show() { System.out.println("xixi"); } } class Zi extends ...

  10. elasticsearch数据迁移——elasticsearch-dump使用

    先安装好nodejs和nodejs的包管理工具npm.然后安装elasticsearch-dump: npm install elasticdump 下面迁移数据: 先在目的地址创建一个index来储 ...