Metafile allocation, Allocating files that comprise a database, Allocating metafiles – HP XP Racks User Manual

Page 384

Advertising
background image

Databases that use the snapshot function cannot be backed up and restored by Replication Man-
ager. If configured to back up a database snapshot, the backup will fail. When backing up an
entire instance, first remove any database snapshots.

The service broker becomes disabled when databases are restored using Replication Manager.
To enable the service broker, execute the following SQL statement after restoration:

ALTER DATABASE [database name database-name] SET ENABLE_BROKER

When using Replication Manager to manage replicas of databases using a database mirroring
function, run the operation on a principal server.

To restore a database using a database that uses the mirroring function, disable the mirroring
function for the database.

To restore system databases (master, model, and msdb) together with a database that uses the
database mirroring function, disable the mirroring function for the database using it, restore the
system databases, and then restore the database that uses the mirroring function.

Allocating files that comprise a database

Do not place database files to be backed up in the same volume as files that will not be backed up.

Allocating metafiles

A metafile is a file SQL Server outputs during backup processing. Metafiles store information about
database composition and are therefore used in restoration processing. For this reason, when backup
data is backed up to tape, the metafile must also be backed up to the tape.

If you have specified a VDI metafile storage directory, when backup data of the secondary volume
is backed up to tape, the metafile must also be backed up to the tape (this is not necessary if the
metafile is stored in the same directory as the database file).

When you back up to tape, use FTP or a similar method to transfer the metafile created in the metafile
storage directory in the database server to the backup server. Transfer the file in the directory using
the same name as in the metafile storage directory in the backup server and allocate the same drive
characters.

Metafile allocation on the database server and the backup server is shown in the following figure.

Figure 16 Metafile allocation

If the database server is in a cluster configuration using Microsoft Cluster Service and metafiles are
stored in a storage system volume, a secondary volume can be used to restore the metafiles when the
cluster server fails over.

Managing application replicas

384

Advertising