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. JVM难学?那是因为你没认真看完这篇文章(转)

    一:虚拟机内存图解 JAVA程序运行与虚拟机之上,运行时需要内存空间.虚拟机执行JAVA程序的过程中会把它管理的内存划分为不同的数据区域方便管理. 虚拟机管理内存数据区域划分如下图: 数据区域分类: ...

  2. PAT Advance 1014

    题目: 1014. Waiting in Line (30) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue S ...

  3. java反射——方法

    大家都知道反射技术在Java里面时非常重要的一个技术点,因为Java好多框架的编写都是基于反射的,别的不多说,spring框架里面的IOC就是基于反射实现.那么什么是反射呢?JAVA反射机制是在运行状 ...

  4. _heap_alloc_base 奔溃,奔溃原因:堆被破坏

    现象:程序崩溃的地方比较随机,之前没问题的代码, 可能直接奔溃,多线程下其他地方堆栈被破坏,引起崩溃的时间是不定,所以在其他地方随机性奔溃 检测方法:使用windows工具gflags.exe 开启 ...

  5. datagridview数据导出到excel

    /// <summary> /// 导出Excel /// </summary> /// <param name="mydgv">控件 Data ...

  6. ubuntu-16.04.2-server-amd64.iso

    w

  7. Java 语言基础之数组(一)

    数组定义及格式: 数组: 同一种类型数据的集合, 就是一个容器 定义数组格式1: 元素类型[] 数组名 = new 元素类型[元素个数(即数组长度)]; 说明: 数组是一个容器.而容器属于一个实体,实 ...

  8. 转!!SQL左右连接中的on and和on where的区别

    原博文地址:http://blog.csdn.net/xingzhemoluo/article/details/39677891 原先一直对SQL左右连接中的on and和on where的区别不是太 ...

  9. 《深入理解Linux内核》阅读笔记 --- Chapter 3 Processes

    Process Switching 1.The set of data that must be loaded into the registers before the process resume ...

  10. 流畅的python 14章可迭代的对象、迭代器 和生成器

    可迭代的对象.迭代器和生成器 迭代是数据处理的基石.扫描内存中放不下的数据集时,我们要找到一种惰性获取数据项的方式,即按需一次获取一个数据项.这就是迭代器模式(Iterator pattern). 迭 ...