Partager via


Restoring the Metabase with Backup Files

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

IIS administrators can restore backup files using either IIS Manager or a command-line administration script. You can restore a metabase backup to the same computer on which the backup was made, or onto a different computer. For information about restoring the metabase using scripts, see Restoring IIS Configurations Using Iisback.vbs.

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".

Procedures

To restore an IIS 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, click the backup you want to restore and click Restore.

    Note

    If you want to restore IIS to its initial configuration, restore the backup named Initial Backup (created automatically by IIS setup).

  3. Read the message that appears and click Yes if you want to continue.

  4. If you are restoring a secure backup, you are prompted for the password you typed when the backup was created. Type the password and click OK. Note that passwords are case sensitive.

  5. Click OK.

Important

Before restoring a metabase from one computer to a different computer, you must first delete the computer-specific information from the metabase file. See "Related Information" below.