Using Backup And Restore With Tape Libraries; Using Multiple Tape Cartridges - HP 9840 Operation Manual

Tape drive
Table of Contents

Advertisement

Operating the 9840 Tape Drive

Using BACKUP and RESTORE with Tape Libraries

To begin a BACKUP or RESTORE operation when using a tape library, a tape cartridge
must be loaded into one of the drives contained within the tape library. For operations
requiring a single tape cartridge, the tape drive writes to or reads from the tape, then
the robot unloads the tape cartridge (unless the NOUNLOAD option was specified),
and loads the next requested tape label cartridge.

Using Multiple Tape Cartridges

For BACKUP or RESTORE operations requiring multiple tape cartridges, the system
issues a mount request that the robot receives via the server and the new tape
cartridge is loaded. For examples, see the following subsections.
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 you before writing to each tape. This option is useful when the backup
requires more than one tape cartridge, and the process utilizes a labeled tape
environment.
->BACKUP $TAPE1, $DISK1.USER2.*,NOPROMPT
Using Labeled Tapes with Backup and Restore
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 you 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 Tapes on
page 3-13. For more information on tape DEFINEs, see these manuals:
Guardian User's Guide
Guardian Disk and Tape Utilities Reference Manual
DSM/Tape Catalog User's Guide
9840 Tape Drive Operations Guide— 429596-002
3- 14
Using BACKUP and RESTORE with Tape Libraries

Advertisement

Table of Contents
loading

Table of Contents