Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

8.3.19 stgdbrcv (Database recovery command)

NAME

stgdbrcv - recovers the database


SYNOPSIS

/opt/swstorage/bin/stgdbrcv -m mode [-d Backup-Directory]

DESCRIPTION

This command recovers a saved database.
It is necessary to execute this command in the Management Server.


OPTION

-m Mode

This option specifies the recovery mode. Specify the mode that suits the fault that occurred in the database area.
Refer to "Table 7.3 Relationship between qdg messages and recovery modes" for the correspondences between details on faults and the corresponding recovery modes.

-d Backup-Directory

Specify the absolute path of a directory name to which saved data has already been stored.
This option must be specified if 0, 1, 2, or 4 is specified in the -m option.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

# /opt/swstorage/bin/stgdbrcv -m 1 -d /storage/dmpdir
////// AdvancedCopy Manager database recovery //////
==================================================================
DSI recovery (FW mode) will start.
==================================================================
Editing of the work file used for recovery is complete.
DSI access inhibition is complete.
.........................
DSI data recovery is complete.
==================================================================
DSI recovery (FW mode) is complete.
==================================================================
Database recovery ended normally.
#

NOTES