OSI/MHS Configuration and Management Manual

Mailbox Save and Restore Utilities
OSI/MHS Configuration and Management Manual424827-003
C-7
RESTMBOX Examples
RESTMBOX does no validation of a saved and restored APPL O/R name. If
messages are saved from an APPL object that has one O/R name and restored to an
APPL object that has a different O/R name, no warning message is issued.
RESTMBOX Examples
This example illustrates the RUN RESTMBOX command without the VERBOSE
option:
COMM 5> RESTMBOX APPL=$ZD1.#UAMS13 &
INSTALL-SV=$LOGICE.DJOSIMHS &
SAVEFILE=FOO MODE=RESTORE
RESTMBOX - MHS - T69900D22 -30APR95 - D22 RESTMBOX
Restoring APPL $ZD1.#UAMS13 from FOO in RESTORE mode
Restore complete:
Elapsed time = 1001 seconds
Messages restored = 277
Reports restored = 144
Bytes restored = 1324567
COMM 6>
This example illustrates the RUN RESTMBOX command with the VERBOSE option:
COMM 7> RESTMBOX APPL=$ZD1.#UAMS14 &
INSTALL-SV=$LOGICE.DJOSIMHS &
SAVEFILE=FOO MODE=APPEND &
VERBOSE=ON
RESTMBOX - MHS - T69900D22 -30APR95 - D22 RESTMBOX
Restoring APPL $ZD1.#UAMS14 from FOO in APPEND mode
Checking APPL exists.
Checking APPL is stopped.
Restoring messages:
Index Sequence # Type Size #Children
----- ---------- ---- ---- ---------
01 1234567 User 4444 0
02 1234568 Report 7777 1
Restore complete:
Elapsed time = 5 seconds
Messages restored = 1
Reports restored = 1
Bytes restored = 12221
COMM 8>