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. JavaWeb开发的一系列可能的配置

    最近电脑硬盘坏了Orz...,重装了.唉!软件什么的都要重新装,重新设置,好麻烦! 我决定写下重装javaweb开发环境的过程 1.Java的安装,配置 https://www.runoob.com/ ...

  2. 手动爬虫之糗事百科(ptyhon3)

    一.调用封装的Url_ProxyHelper类,源码如下 import urllib.request as ur class Url_ProxyHelper: def __init__(self, u ...

  3. Spring Data 开发环境搭建(二)

    首先咱们先创建一个maven工程 在pom.xml加入以下 依赖 <!--Mysql 驱动包--> <dependency> <groupId>mysql</ ...

  4. WebService 入门

    1. 远程调用技术 2. WebService 概述 WebService 是使用 Http 发送 SOAP 协议数据的一种远程调用技术; WebService 需要开发客户端; WebService ...

  5. android应用程序优化之布局优化

    在我们开发APP时不仅要在代码实现上.做到对App的优化,而在我们的界面布局也有很多要优化的地方,假设布局写的非常low的话,系统载入布局的速度会十分的慢,使得用户的体验非常的不好.这篇文章主要是从我 ...

  6. Python-装饰器、生成器

    python中的for循环 for i in [1,2,3,4]: print(i) 正常可运行的,但是如下运行呢? for i in 1234 print(i) 结果: Traceback (mos ...

  7. Java集合(5):HashSet

    存入Set的每个元素必须是惟一的,因为Set不保存重复元素.加入Set的元素必须定义equals()方法以确保对象的唯一性.Set不保证维护元素的次序.Set与Collection有完全一样的接口. ...

  8. maven 不打包hbm 问题

    <build> <resources> <resource> <directory>src/main/java</directory> &l ...

  9. 杭电1024Max Sum Plus Plus

    地址:http://acm.hdu.edu.cn/showproblem.php?pid=1024 题目: Problem Description Now I think you have got a ...

  10. 二叉树遍历,递归,栈,Morris

    一篇质量非常高的关于二叉树遍历的帖子,转帖自http://noalgo.info/832.html 二叉树遍历(递归.非递归.Morris遍历) 2015年01月06日 |  分类:数据结构 |  标 ...