Top
ETERNUS SF AdvancedCopy Manager V15.0 Operation Guide

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 details on faults and the corresponding recovery modes.

-d Backup-Directory

Specify the name of the directory storing the saved data.
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