L700 (CTL700) Installation and User's Guide (G06.28+, H06.04+, J06.03+)

Table Of Contents
Managing Tape Drives
L700 (CTL700) Installation and Users Guide527338-008
9-8
Using Multiple Cartridges
Backing Up Disk Files to Tape
The following example copies all files from the $DISK1.USER2 subvolume to
the tape on the tape drive name $TAPE1. The NOPROMPT option instructs the
host system not to prompt the user before writing to each tape. This option is
useful when the backup requires more than one cartridge, and the process
utilizes a label tape environment:
->BACKUP $TAPE1, $DISK1.USER2.*,NOPROMPT
Using Labeled Tapes
If labeled tapes are being used, tape DEFINE with BACKUP and RESTORE
commands must be used. A tape DEFINE specifies information about a tape
file, such as the label type, tape density, and expiration date of the data on the
tape. The following example specifies a CLASS TAPECATALOG DEFINE
named =BACK. The BACKUP command copies all the files on the $DATA
volume to tape.
-> ADD DEFINE =BACK, CLASS TAPECATALOG, LABELS BACKUP&
-> USE OUT, CATALOG OFF
-> BACKUP =BACK, $DATA.*.*,LISTALL, NOPROMPT
The LISTALL option lists the names of all files backed up.
The NOPROMPT option instructs BACKUP not to prompt the user before
beginning to write on each tape, but to begin when it detects the tape drive is
ready.
For more information about labeled-tape processing, see Using Labeled and
Unlabeled Tapes on page 9-10. For more information on tape DEFINEs, see:
Guardian User's Guide
Guardian Disk and Tape Utilities Reference Manual
DSM/Tape Catalog User's Guide
BACKUP Requiring Multiple Cartridges
For backups that require more than one cartridge tape, the robot starts with the
cartridge that was requested to begin the backup process. If the BACKUP
command includes the NOPROMPT option, the robot loads additional tapes
sequentially without prompting the operator.
For example, if a BACKUP command that requires three cartridges is issued,
the robot loads the cartridges requested in sequential order. The robot unloads
the tape from the drive as the BACKUP process finishes and then loads the next
cartridge.
Note. Cartridges are loaded in random slot order. The robot tracks the inventory of tape
cartridges by label.