Delen via


Backing Up and Restoring the Metabase in IIS 6.0

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

IIS administrators can create backup files using IIS Manager or a programmatic administration script. The backup files are copies of the metabase configuration file (MetaBase.xml) and the matching metabase schema file (MBSchema.xml). Using the metabase configuration backup and restore feature, the metabase can be restored from the backup files.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

To create a portable backup (password required)

  1. In IIS Manager, right-click the local computer, point to All Tasks, and click Backup/Restore Configuration.

  2. Click Create Backup.

  3. In the Configuration backup name box, type a name for the backup file.

  4. Select the Encrypt backup using password check box, type a password into the Password box, and then type the same password in the Confirm password box.

  5. Click OK, and then click Close.

To create a non-portable backup (password not required)

  1. In IIS Manager, right-click the local computer, point to All Tasks, and click Backup/Restore Configuration.

  2. Click Create Backup.

  3. In the Configuration backup name box, type a name for the backup file.

  4. Click OK, and click Close.

To restore the metabase backup

  1. In IIS Manager, right-click the local computer, point to All Tasks, and click Backup/Restore Configuration.

  2. In the Backups list box, click the version of the Automatic Backup file that you want to restore, and click Restore. If prompted for a password, type the password you chose to secure the backup.

  3. When a confirmation message appears, click Yes.

  4. Click OK, and then click Close.

For more information about backing up and restoring the metabase, see Working with the Metabase in this reference, and Backing Up and Restoring the Metabase in the IIS 6.0 Operations Guide, which is accessible from IIS Manager.