beautypg.com

Database names that contain spaces, Metadata files, 10 metadata files – HP P6000 Continuous Access Software User Manual

Page 10

background image

DButil –pre

Database names that contain spaces

Enclose the database name in quotes if it contains an embedded space. For example:

DButil –pre “My Database”

Metadata files

The

DButil –pre

and

DButil –mfreeze

commands create metadata files that contain checkpoint

and control information about the database(s) being replicated. This data is sent to SQL Server during
DButil restore operations (

–restoresns

or

–recover

) and allows SQL Server to restore from a

snapshot or snapclone.

By default,

DButil –pre

and

DButil –mfreeze

create metadata files in the same directory where

HP DButil is running and use the following naming convention:

servername_databasename.meta

If a file of the same name already exists, it is overwritten. Also by default,

DButil –restoresns

and

DButil –recover

automatically look for metadata files that conform to this naming convention.

Because metadata files are valid for the specific snapshot that created them and cannot be used to
restore another database or for a different backup of the same database, metadata files must be
organized and identified so that they cannot become confused. In general, it is best to accept the
default location and naming. However, if you must specify a name for the metadata files, use the
following syntax:

DButil –pre [metafilename]

Where

[metafilename]

is the path and name of the file for the metadata. If you specify the

metadata file when you create a snapshot, you must specify the same name in

DButil –restoresns

or

DButil –recover

to ensure that the correct metadata is used.

Using HP StorageWorks DButil

10