TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 7 367
Logging and Recovery
The Mirror Database
aborted because the RESTART file is purged. The database flags are returned to the same
settings as before the recovery process was started.
If ABORT fails to abort recovery because of an inconsistent RESTART file, DBRECOV,PURGE
can be used to delete the current RESTART file before beginning the mirror database
process again.
Performing DBRECOV STOP-RESTART
The processes involved in using the STOP-RESTART feature of DBRECOV are discussed
here. They are broken down as follows:
• Stopping DBRECOV
• Storing the Databases
• Restarting DBRECOV
The following sections are included if problems are encountered while performing
STOP-RESTART:
• Aborting DBRECOV
• Purging a RESTART file
Stopping DBRECOV
DBRECOV rolls forward all log files in the log set on the secondary system, one at a time.
When DBRECOV cannot find the next log file in a log set, it prints the following message on
the console:
DBRECOV - Reply CON or STOP when
filexxx
is ready.
A message for the user is displayed in the $STDLIST file:
UNABLE TO OPEN LOG FILE
filexxx
REPLY 'CONTINUE' OR 'STOP' ON CONSOLE.
The filexxx is the log file that DBRECOV is trying to find. If that log file has been closed on
the primary system and is ready to be moved over to the secondary system, transfer it to
the secondary system and reply CON or CON[TINUE] on the console. DBRECOV will look for
filexxx again. The roll-forward process continues as long as the next log file has been copied
over correctly and is available to DBRECOV.
The next log file may not be ready yet. For example, the primary system might still be
logging transactions, or the log file might have been renamed or be on a tape that was not
mounted. This provides an opportunity to STOP recovery and perform maintenance on the
database. Refer to "Storing the Databases" next in this chapter. To stop recovery, simply
reply STOP at the console. A list of the databases involved in recovery are displayed in the
$STDLIST file. At this point, DBRECOV creates a RESTART file containing all the necessary
information to continue the recovery process when the RESTART option is requested; it also
enables the RESTART flags and disables the access flags of the databases that are