Procedure 4: Restoring the Monitoring database

Perform this procedure if you need to recover the Monitoring database.

The following procedures describe:

To restore the Monitoring database to the server that previously hosted it

  1. On the SQL Server machine that used to host the Monitoring database, start SQL Enterprise Manager by clicking Start > Programs > Microsoft SQL Server Enterprise Manager.

  2. Expand the view until you see the Databases container, and then select it.

  3. On the Tools menu, click Restore Database.

  4. In the Restore database dialog box, select EnterpriseVaultMonitoring in the Restore as database box.

  5. Next to Restore, click From device, and then click Select Devices. The Choose Restore Devices dialog box appears.

  6. Click Add.

  7. In the Choose Restore Destination dialog box, select the backup file from which to restore, and then click OK.

  8. Click OK to close the Choose Restore Destination dialog box, and then click OK again to close the Choose Restore Devices dialog box.

  9. In the Restore database dialog box, ensure that the options Restore backup set and Database - complete are selected.

  10. Select the Options tab, and then select Leave database operational. No additional transaction logs can be restored.

  11. Click OK to start the restoration.

To restore the Monitoring database to a different SQL server machine

  1. Ensure the new SQL server machine contains the same folder structure on the same drive as the original SQL server machine where the Monitoring database previously existed. The Monitoring database must be restored to the same location on the new machine that it occupied on the original machine.

  2. On the new SQL Server machine, start SQL Enterprise Manager by clicking Start > Programs > Microsoft SQL Server Enterprise Manager.

  3. Expand the view until you see the Databases container, and then select it.

  4. On the Tools menu, click Restore Database.

  5. In the Restore database dialog box, enter EnterpriseVaultMonitoring in the Restore as database box.

  6. Next to Restore, click From device, and then click Select Devices. The Choose Restore Devices dialog box appears.

  7. Click Add.

  8. In the Choose Restore Destination dialog box, select the backup file from which to restore, and then click OK.

  9. Click OK to close the Choose Restore Destination dialog box, and then click OK again to close the Choose Restore Devices dialog box.

  10. In the Restore database dialog box, ensure that the options Restore backup set and Database - complete are selected.

  11. Select the Options tab, and then select Leave database operational. No additional transaction logs can be restored.

  12. Click OK to start the restoration.

  13. When the restoration has completed, click OK to close the success message.

  14. Connect to the SQL server using SQL Enterprise Manager or SQL Query Analyzer, or a similar tool.

  15. Enter and run the following SQL commands:

    USE EnterpriseVaultDirectory
    UPDATE MonitoringSettings 
    SET SQLServer = 'Name of new server'
    

    where Name of new server is the name of the new SQL server.