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

404 Chapter8
Using the Database Utilities
DBRESTOR
DBRESTOR
Copies a database to disk from the backup volume(s) created by the DBSTORE program or
by the MPE/iX STORE command.
Operation
1 [ :FILE DBRESTOR [=
filename
] [;DEV=
device
]
[;REC=
recsize
] [; {BUFNOBUF} ] ]
2
:RUN DBRESTOR.PUB.SYS
.
.
.
3 WHICH DATABASE?
database name
[/
maint word
]
4 DATABASE RESTORED
END OF PROGRAM
Parameters
filename
is a name (up to 8 characters) that replaces DBRESTOR in the mount
prompt at the operator's console.
device
is the device class name of the device from which the database is to be
recorded.
recsize
is the record size of the record to be restored. recsize must be at least as
large as the record written to the device to avoid losing data.
database name
is the name of a TurboIMAGE/XL database root file to be restored.
maint word
is the maintenance word defined by the database creator. This word must
be supplied by anyone other than the database creator.
Operation Discussion
1 An optional file equation that specifies the device class name for the device
from which the database is to be restored, the record size of the records to
be restored, and whether the records are buffered or not. The default
device class is TAPE.
2 Initiates execution of the DBRESTOR program in the PUB group of the SYS
account.
3 In session mode, DBRESTOR prompts for the database name and
maintenance word. In job mode, the database name and maintenance
word, if any, must be in the record immediately following the RUN
command.
4 After DBRESTOR has created the root file and data sets and restored the
data to these files, it prints a confirmation message.