How to restore iis backup (MetaBase. xml) after the system is reinstalled

Source: Internet
Author: User
Tags metabase

This article summarizes how to restore iis backup (MetaBase. xml) after you reinstall the system.

MetaBase. xml is the IIS configuration file, which is automatically backed up every day.


I. IIS backup

1. In the IIS management unit on the local computer, right-click the computer icon under Internet Information Service.

2. Select "all tasks/backup/restore configurations.

3. Click "create backup" and enter your backup name under the backup configuration name.

4. select "password-encrypted backup" (if "password-encrypted backup" is not selected during backup, after the system is re-installed or restored on another computer, the system prompts "invalid signature ")

5. Enter the password to complete the backup.

Note: The backup file is in X:/WINDOWS/system32/inetsrv/MetaBack/(X indicates the drive letter of your system ).


Iis recovery methods

If the system has been reinstalled or changed to the server, the backed up MetaBase. xml cannot be overwritten in the new system.
I have studied this and found that after the system is changed, manually modify the following parameters in the backup MetaBase. xml to restore MetaBase. xml in the new system.


The specific method is: use NotePad to open the MetaBase in the new system and the backup respectively. xml file, and then cut out the code in the middle of </IIsWebService> to <IIsApplicationPools (no ending in parentheses) and put it in two different files.

The following parameters are found in MetaBase. xml of the new and old systems:

AdminACL
UNCPassword
AnonymousUserName
AnonymousUserPass

Then, replace the parameter values in the backup MetaBase. xml file with the new system parameter values. Finally, copy the replaced code back to the cut-down code location.

Another way to restore iis

IIS Restoration

1. Copy the. sc0 and. md0 backup files under X: WINDOWSsystem32inetsrvMetaBack (X indicates the drive letter of your system) to the same directory in the new system.

2. In the IIS management unit on the local computer, right-click the computer icon under Internet Information Service.

3. Select the "backup/restore configuration for all tasks" option.

3. Select your backup and click "Restore". A dialog box is displayed, prompting "restoring the Database Configuration takes a long time. It will clear all current settings and cause all internet services to stop. After the operation is complete, IIS restarts these services. Are you sure you want to continue ?" Click Yes. The dialog box asking you to enter the backup password is displayed. after entering the password, the IIS Backup will be restored.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.