DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-163
RECOVER DISKFILE Command
A volume-mode RESTORE will be done. ALL files will be copied
to the same disk as in the backup tape if the TARGET option
is not specified. Please make sure all volume-mode
preparations are completed before continuing. This tape file
was not backed up with the CATALOGFILES option. No disk file
information is available.
Do you want RESTORE to be started? (y/n) y
Starting RESTORE.
In this example, all the tape file IDs in the file catalog OPS_1 are checked to
determine if they own a disk file entry for $DATA3.MISC.HOURS. If more than one
occurrence of $DATA3.MISC.HOURS is in the catalog, the backup tape set
containing the most current copy is chosen for RECOVER DISKFILE.
MC> RECOVER DISKFILE $DATA3.MISC.HOURS,&
>>> TAPEFILE *,&
>>> FILECAT OPS_1,&
>>> TAPEDRIVE $T004,&
>>> OUT outrpt,&
>>> OVERRIDE ON
The tape file selected is shown as:
File Catalog \SKY.OPS_1
Volume Catalog \SKY.MASTER_TAPE_CATALOG
Pool Name BACKUP
Tape File DAILY_BACKUP
Generation 13
Version 0
Physical Copy 01
Logical Copy 01
Time Archived 14 JUN 1993, 16:50:16
Tape File Mode FILEMODE BACKUP
Catalog Files YES
Tape Name T00499
Total count of valid matching disk files: 0001
Starting RESTORE.
This example recovers OSS and SQL/MX object specs:
MC> recover diskfile (mx cat *), (oss /file1), tapefile tf1
This example recovers more than one object for a filesystem type:
MC> recover diskfile oss (/dir1, /dir2), tapefile tf1
This example recovers various SQL/MX object types:
MC> reover diskfile mx (tpart c.s.t psrtition ($x.y.z,
$a.b.c), sch c2.s), tapefile tf1