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
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.
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
This command can be executed only by root users.
Execute this command under the locale specified at the time of introducing the Management Server. If Symfoware is introduced in advance, execute the command under the locale specified at the time of introducing Symfoware.
After the database recovery command terminates normally, obtain the most recently saved data as described in "7.1.1.3.1 Saving a database". At this time it is recommended to specify another directory rather than the saved data storage directory used in the recovery command.
After the database recovery command terminates normally, refer to "Chapter 2 Starting and Stopping Daemons" and restart (stop and then start) the AdvancedCopy Manager daemon.