Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Restoring system databases from SnapManager backup sets

The following topics describe the prerequisites and procedures for restoring system databases:

After the failure of your SQL Server system databases (distribution, master, tempdb, model, and msdb databases), you can restore them from SnapManager backup sets for default and named SQL Server instances.

Prerequisites for restoring system databases  Top

Before you can restore system databases from SnapManager backup sets:

  1. The system databases must be migrated to Data ONTAP LUNs. For more information, see Migrating SQL Server databases to LUNs.
  2. SnapManager must be used to create stream-based backup sets of those databases. For more information, see Types of backup operations performed using SnapManager.

Procedures for restoring system databases  Top

The procedure to restore your SQL Server system database depends on whether the database is still functional. If the database is no longer functional, you will need to rebuild the system databases first.

Restoring system databases that are still functional

If you are restoring system databases that are still functional, you only need to use SnapManager to restore the system databases from SnapManager backup sets.

For more information, see Chapter 10, Restoring Databases Using SnapManager.

Restoring system databases that are no longer functional

If you are restoring system databases because they are no longer functional, you must first rebuild the system databases using an SQL Server utility:

To rebuild and then restore SQL Server system databases from SnapManager backup sets, complete the following steps.

Step

Action

1

Create a new Data ONTAP LUN on the same drive letter as the original LUN.

2

Use Rebuildm.exe or setup.exe to create base system databases.

For more information, see your SQL Server 2000 or 2005 documentation.

Result

The system databases are created in the default location.

3

Migrate the system databases from the default location back to the Data ONTAP LUN.

For more information, see Migrating SQL Server databases to LUNs.

4

Use SnapManager to restore the system databases from SnapManager backup sets.

For more information, see the following topics:

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments