The metabase key values are stored in a disk file, which is named Metabase.bin by default. The metabase is loaded from disk when IIS starts, stored to disk when IIS shuts down, and saved periodically while IIS is running. It is important to protect this file from unauthorized use. It is recommended that you store this file on an NTFS partition and use Windows security to protect it.
Metabase.bin is stored in the Inetsrv directory. You can move or rename the file and change the Windows registry setting that tells IIS where to find the file on startup. To relocate or rename the metabase file, you must stop IIS, move or rename the file, and modify the registry key LOCAL_MACHINE\SOFTWARE\Microsoft\INetMgr\Parameters. Then add a REG_SZ value, named MetadataFile, to this key. MetadataFile specifies the new complete path of the metabase file, including the drive letter and file name.
You can implement your own custom backup policy for the metabase, or create specialized backup tools. Your application can use the methods provided by the IIsComputer object (for IIS Admin Objects) or IMSAdminBase (for the IIS Admin Base Object) to manage metabase backups. You can store multiple backup versions in long-term storage, restore the metabase from a backup version of your choice, and enumerate and delete backups.
Important The metabase backup and restore functionality exists for versioning purposes, not for cross-machine replication. A metabase backup must be restored only to the same machine on which it was originally created.
For more information, see Advanced Programmatic Administration.