5190/5194 Modular Tape Subsystem Manual

Operating the Cartridge Tape Drive and ACL
5190/5194 Modular Tape Subsystem Manual426878-002
4-40
Restoring Tape Files to Disk
Restoring Tape Files to Disk
Use the RESTORE utility to copy files from magnetic tape to disk. The following
example restores the contents of the tape on tape drive $TAPE to a specified
subvolume on $DISK1 located within the same system.
1> RESTORE $TAPE, $DISK1.*.*, LISTALL, NOPROMPT, MYID, TAPEDATE
The LISTALL option lists the names of the disk files that are copied successfully
from tape.
The NOPROMPT option instructs RESTORE not to prompt the user before
beginning to read each tape, but to begin when it detects the tape drive is ready.
The MYID option sets the owner ID of all of the files that are being restored to that
of the user who is running RESTORE.
The TAPEDATE option determines the date used for the last modification and last
open timestamps of the files that are being restored.
Viewing the Contents of a Tape
The RESTORE utility also lets you view the contents of a labeled or unlabeled
cartridge tape before restoring its files to disk. The following example instructs the
RESTORE utility to verify the tape on drive $TAPE0, list the files without writing the
tape to disk, and leave the tape online so that you can start a RESTORE process
without remounting the tape:
1> RESTORE $TAPE0, *.*.*, VERIFYTAPE, LISTONLY, NOUNLOAD
Using the BLOCKSIZE Option
You can use larger BLOCKSIZE attribute values on systems that have installed a D30
or later version of the Restore utility. Larger BLOCKSIZE values can improve
BACKUP performance by increasing the size of data records written to tape. The
BLOCKSIZE attribute specifies the number of 1024-byte increments (blocks) in each
record.
The following table lists BLOCKSIZE values for 5190 or 5194 tape drives using MFCs,
3216 controllers, or PMF CRUs.
For 5190 or 5194 Tape Drives Using BLOCKSIZE Values
MFCs 2 and 4 through 28 in increments of 4
3216 controllers as large as 52
PMF CRUs or IOMF CRUs 2 and 4 through 52 in increments of 4
6760 ServerNet/DA with F-PIC 2 and 4 through 52 in increments of 4
6760 ServerNet/DA with S-PIC 2 and 4 through 52 in increments of 4