Updated: August 14, 2009
Applies To: Virtual Machine Manager 2008, Virtual Machine Manager 2008 R2
The Virtual Machine Manager (VMM) database is a SQL Server database that contains all VMM configuration information.
It is important to back up the VMM database regularly as part of a comprehensive backup plan for protecting all VMM data, including data on hosts, virtual machines, and library servers. Besides using the tools provided in VMM, you can also use SQL Server Management Studio to back up and restore the VMM database.
In Administration view, click General, and then, in the Actions pane, click Back up Virtual Machine Manager.
In the Virtual Machine Manager Backup dialog box, type the path for a destination folder for the backup file. The folder must not be a root directory and must be accessible to the SQL Server.
Use the following procedures to perform data recovery and reassociate managed computers in your VMM environment. Which procedure you use depends on whether you are restoring to the same physical computer or to a different computer.
To restore the VMM database, on the computer you are restoring the VMM database to, run the SCVMMrecover.exe tool from the command line. The scvmmrecover.exe tool is located on the product CD at the following path: %ROOT%\i386\bin for a 32-bit computer, or %ROOT%\amd64\bin for a 64-bit computer.
SCVMMrecover.exe
scvmmrecover.exe
On the VMM database computer, open a command-prompt window with elevated privileges, and then run the SCVMMrecover.exe tool using the following syntax, SCVMMRecover [-Path <location>] [-Confirm].
SCVMMRecover [-Path <location>] [-Confirm]
If the physical computer that you are restoring the VMM database on has the same System Identification Number (SID) as the computer it was on before, you must perform the following steps:
To restore the VMM database, on the computer you are restoring the VMM database to, run the scvmmrecover.exe tool from the command line. The scvmmrecover.exe tool is located on the product CD at the following path: %ROOT%\i386\bin for a 32-bit computer, or %ROOT%\amd64\bin for a 64-bit computer.
On the VMM database computer, open a Command Prompt window with elevated privileges, and then run the scvmmrecover.exe tool using the following syntax, SCVMMRecover [-Path <location>] [-Confirm].
If the physical computer that you are restoring the VMM database on is different from the original computer and has a different System Identification Number (SID), you must perform the following steps:
scvmmrecover.exe is also not available on my media for the RTM version of VMM 2008. After installation of the R2 version, it can be found in the Bin directory of the SCVMM Program Files. Can't confirm that this is the case for the RTM version.
d