IIS Backup ProcessIn addition to backing up web content files and associated databases, the IIS metabase (MetaBase.xml) and the metabase schema (MBSchema.dll) should be backed up. An automated backup of the IIS metabase and schema is made when changes are made or IIS is restarted. An administrator can use the IIS console or the iisback.vbs script file to do so. The script file can be modified. The script creates backup copies of IIS configurationthe metabase and schemawhich can be used locally or remotely and can also be used to restore IIS configuration. To use the script, follow these steps: This command line will back up IIS on computer1 and give it the backup name IISbackup1. The password urtHv8c will be used to protect a generated session key used to encrypt the secure properties. You can read the backup copy and delete the file, but to restore the backup to IIS, the password is required. This can prevent an inadvertent or malicious restore of an older metabase and schema. The complete syntax for iisback is in the server help files. To restore the backup made previously, use this command: To back up the metabase and schema from the console, follow these steps:
To restore the IIS metabase and schema, follow these steps: TIP: Metabase History on by DefaultThe Metabase history feature is on by default in IIS 6.0. This feature tracks changes to the metabase and metabase schema files and saves a copy of the file in the history folder. You can roll back the files from the history using the console Backup Restore Configuration option. |