Tivoli Storage Manager for Windows Administrator's Reference

DEFINE DBCOPY (Define a Volume Copy of a Database Volume)

Use this command to create a copy (mirrored volume) of a database volume. Mirroring the database increases database availability and provides a safeguard against media failure. You can have as many as two copies of a database volume. After each database volume copy is defined, the server attempts to synchronize the volume copy with the database.

All database volumes reside on a random access volume. Volume copies must have at least the same capacity as the original volume and should be defined on separate physical devices. Any additional space on the volume copy is not used.

This command generates a background process that you can cancel with the CANCEL PROCESS command. If a DEFINE DBCOPY process is canceled, the volume copy is created. However, synchronization processing is canceled, leaving the volume in a stale state. To display information on background processes, use the QUERY PROCESS command.

Privilege Class

To issue this command, you must have system privilege or unrestricted storage privilege.

Syntax

>>-DEFine DBCopy--volume_name--copy_volume_name----------------><
 

Parameters

volume_name (Required)
Specifies the name of the database volume to be mirrored.

copy_volume_name (Required)
Specifies the file name of the volume copy. The name cannot contain embedded blanks or equal signs.

Enter this name as either a fully qualified path or a name relative to the server's current working directory. For example, if the file name is db2.dsm, enter the path name as:

 
l:\win32app\ibm\adsm\server\db2.dsm

Examples

Task

Create a database volume copy named DB.2 for the database volume named DB.1.

Command:
define dbcopy db.1 db.2

Related Commands

Table 46. Commands Related to DEFINE DBCOPY

Command Description
CANCEL PROCESS Cancels a background server process.
DEFINE DBVOLUME Assigns a volume to be used for database storage.
DELETE DBVOLUME Deletes a volume from the database.
QUERY DBVOLUME Displays information database volumes.
QUERY PROCESS Displays information about background processes.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]