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. hdu 4050(概率dp)

    算是挺简单的一道概率dp了,如果做了前面的聪聪于可可的话,这题不需要什么预处理,直接概率dp就行了... #include <stdio.h> #include <stdlib.h& ...

  2. Ubuntu右键添加:open in terminal

    1.安装软件nautilus-open-terminal sudo apt-get install nautilus-open-terminal 2.重新加载文件管理器 nautilus -q 重新打 ...

  3. cocos2d-X学习之主要类介绍:摄像机(CCCamera)

    在cocos2d-x中,每个节点(CCNode)都需要用到,即当节点发生旋转.缩放和位置变化等时,都需要覆盖CCCamera,然后这个节点通过CCCamera重新渲染. 类结构: 其主要函数如下: c ...

  4. 160706、Java HashMap工作原理及实现

    1. 概述 从本文你可以学习到: 什么时候会使用HashMap?他有什么特点? 你知道HashMap的工作原理吗? 你知道get和put的原理吗?equals()和hashCode()的都有什么作用? ...

  5. PHP下SESSION无法跨页传递的解决

    修改PHP.ini1.Windows下PHP的session文件保存路径要设置成为一个绝对路径session.save_path = C:\windows\temp2.为temp设置权限,允许User ...

  6. Python mock 的使用

    使用 mock 对象替换系统的一部分并且能获取它们的使用情况. 具体的说,你可以获取方法/属性的使用情况以及它们的调用参数.也可以指定返回值和设置属性. 思路是将对象设置为 mock 对象,然后根据需 ...

  7. django 表单系统 之 forms.ModelForm

    继承forms.ModelForm类实现django的表单系统 有时,我们在前端定义的<form>表单和后端定义的model结构基本上是一样的,那么我们可以直接在后端定义model后,定义 ...

  8. 最大熵模型(Maximum Entropy Models)具体分析

    因为本篇文章公式较多,csdn博客不同意复制公式,假设将公式一一保存为图片在上传太繁琐了,就用word排好版后整页转为图片传上来了.如有错误之处.欢迎指正.

  9. delphi webbrowser 获取iframe

    procedure TForm1.Button4Click(Sender: TObject);var Index: Integer; Document: IHTMLDocument2; FrameId ...

  10. Zend studio13 导入已有php文件夹

    New -> orther -> faceted project 选好对应的文件夹 ,文件夹下的就都导入zend studio了.