TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
374 Chapter7
Logging and Recovery
The Mirror Database
is disabled, and the database access flag is reset to the state it was in before DBRECOV was
run.
Purging a RESTART File
If the RESTART option fails at the current STOP point, the user can ABORT the current
recovery process and RESTART the databases from the previous STOP point. However, if
the ABORT option fails, the DBRECOV,PURGE command can be used as a last resort to delete
the useless RESTART file before restarting with a backup of the databases and RESTART file
of a previous STOP point.
CAUTION
When using PURGE on a RESTART file, RESTART must be done from the
previous STOP point.
:RUN DBRECOV.PUB.SYS,PURGE
DBRECOV prompts for the name of the RESTART file:
ENTER RESTART FILENAME?
Enter the filename displayed when DBRECOV was stopped. DBRECOV opens the file and
verifies that it is actually a RESTART file. If DBRECOV is unable to open the RESTART file, an
error message is printed and DBRECOV is terminated. The user can either determine that
the file is not a RESTART file and delete it, or can RESTART recovery from a previous STOP
point. When a RESTART file is restored from a backup, the previous RESTART file writes over
the current RESTART file.
If the RESTART file is successfully opened, DBRECOV displays the table of databases in the
RESTART file:
RESTART FILE CONTAINS FOLLOWING DATABASE(S):
base1.group.acct
base2.group.acct
.
.
.
All the databases will be opened, and DBRECOV checks if they are all enabled for RESTART.If
they are all in RESTART mode, the following message is printed and DBRECOV is terminated:
DATABASE
base1.group.acct
IS IN RESTART MODE.
DATABASE
base2.group.acct
IS IN RESTART MODE.
RECOVERY SUSPENDED - USE DBRECOV,ABORT TO ABORT RECOVERY.
Run DBRECOV,ABORT to purge the RESTART file.
If none of the databases in the RESTART file are set for RESTART, the RESTART file is purged
with no further confirmation.