TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)

Chapter 7 333
Logging and Recovery
Logging Preparation
True-online backup. An example is given below:
Access is enabled.
.
.
.
Logging is enabled.
.
.
.
Database last stored using True-Online Backup and
log file NLOG007 on THU, JAN 18, 1996, 6:06 PM.
If you used the AUTO option with GETLOG command, you may purge log files NLOG001
up to NLOG006. When you continue updating the database, log files up to NLOG999
will be automatically created when needed. After that, the log file NLOG001 is
automatically created and used as is done today. If the log file, next in sequence to be
automatically created, already exists, an error will be generated. As the log files are
automatically created in a round-robin fashion as done today for the AUTO option, you
will have to take extra measures to ensure that the log files, logically related to your
database for recovery, are properly maintained. One way is to always start a new log
cycle beginning with the first log file, NLOG001, of the log file set. If you did not use the
AUTO option, you do not need to purge any files.
Example
Following is an example of how to store your database using this method:
:BUILD DBUSASF;DISC=5000
:STORE DBUSA;*DBUSASF;ONLINE=START
>> TURBO-STORE/RESTORE VERSION C.55.07 B5152AA <<
(C) 1986 HEWLETT-PACKARD CO.
STORE dbusa;*dbusasf;ONLINE=START
SUN, MAR 23, 1997, 4:05 PM
ONLINE BACKUP UTILIZED DISC SPACE FOR LOG ON THE FOLLOWING VOLSETS:
MPEXL_SYSTEM_VOLUME_SET : 0 KB
DATABASE INFORMATION:
TURBOIMAGE DATABASE: DBUSA .RECTOL .QALANG
FILES STORED : 4
FILES STORED : 4
TOTAL MEDIA WRITTEN : 1