Article ID: 324277 - Last Review: December 3, 2007 - Revision: 7.5 How To Create a Metabase Backup by Using IIS 6.0 in Windows Server 2003
This article was previously published under Q324277 On This PageSUMMARY This step-by-step article describes how to create a
metabase backup by using Internet Information Services (IIS) 6.0. IIS 6.0 Administrative Metabase BackupThe metabase is a hierarchical structure for storing IIS configuration settings. It performs some of the same functions as the Windows system registry, but it is specific to IIS.The metabase configuration and schema for Microsoft IIS 4.0 and Microsoft IIS 5.0 is stored in a binary file, which is not easily read or edited. IIS 6.0 replaces the single binary file (MetaBase.bin) with plain-text, XML-formatted files named MetaBase.xml and MSSchema.xml. These files are stored on your computer in the %SystemRoot%\System32\Inetsrv folder (note that C:\Windows is typically the system root folder). Only users who are members of the Administrators group can view and modify these files. IIS administrators can create backup file by using IIS Manager or a programmatic script. The backup files are copies of the metabase configuration file (MetaBase.xml) and the matching metabase schema file (MSSchema.xml). This article explains how you can easily back up the metabase so that you can recover administrative settings. Create an Administrative Backup of the IIS 6.0 MetabaseNOTE: You must have administrator permissions to perform this task. There is no need to stop the IIS service.
Create a Metabase Backup ProgrammaticallyIn IIS 6.0, you can run a Vbscript file, Iisback.vbs, to create a metabase backup.NOTE: You must have administrator permissions to perform this task.
The Metabase History FeatureBy default, the Metabase History feature is turned on in IIS 6.0. The default value of the MaxHistoryFiles property is set to 10. The Metabase History feature automatically tracks changes to the metabase that are written to disk. When the metabase is written to disk, IIS marks the new Metabase.xml file with a version number and saves a copy of the file in the history folder. Each history file is marked with a unique version number, which is then available for the metabase rollback or restore processes. A pair of history files is made up of a MetaBase.xml and a MBSchema.xml file, named with the same major and minor version number, and stored in the history folder. These copies can be viewed only by users who are members of the Administrators group. You can find the history folder in the following location:
%Systemroot%\system32\inetsrv\history
You can roll back the metabase from the history files. To do
this, follow these steps:
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top