beautypg.com

Backup and restore operations, File utility program (fup) operations, User request operations – HP NonStop G-Series User Manual

Page 121

background image

Tape Library Control Path Configuration Guidelines

DSM/Tape Catalog User’s Guide — 520233-008

7 - 13

Examples Using Tapes in the Tape Library (With

Catalog)

Examples Using Tapes in the Tape Library
(With Catalog)

The DEFINE requests used in these examples are created from a terminal with a TACL
process running. They can also be created programmatically using normal procedure
calls.

BACKUP and RESTORE Operations

These examples use TAPECATALOG DEFINEs as they might be specified for
BACKUP and RESTORE operations:

ADD DEFINE =BACK3, CLASS TAPECATALOG, LABELS BACKUP, &

USE OUT, CATALOG ON, COMPRESSION IDRC, FILEID FRIDAYS_BACKUP

BACKUP =BACK3, $DATA.*.*, BLOCKSIZE 28, LISTALL,...

ADD DEFINE =REST3, CLASS TAPECATALOG, LABELS BACKUP, &

USE IN, FILEID FRIDAYS_BACKUP

RESTORE =REST3, $DATA.TEST.*, LISTALL,...

No tape volumes are listed with the VOLUME option, and no tape drive is specified
with the DEVICE option. Therefore DSM/TC chooses the scratch tapes for the
BACKUP, and the volumes containing the latest generation of the tape file
FRIDAYS_BACKUP for the RESTORE. $ZSVR mounts them automatically on a free
tape drive in the tape library.

File Utility Program (FUP) Operations

This example uses a TAPECATALOG DEFINE as it might be specified for File Utility
Program (FUP) operations:

ADD DEFINE =FUPOUT2, CLASS TAPECATALOG, LABELS IBM, &

VOLUME IBM001, COMPRESSION IDRC, USE OUT, CATALOG ON, &

FILEID PROJECT2

FUP COPY FILE2, =FUPOUT2

User Request Operations

This example uses a TAPECATALOG DEFINE as it might be specified for a typical
user request:

ADD DEFINE =OUT2, CLASS TAPECATALOG, LABELS ANSI, &

VOLUME ANSI98, USE OUT, CATALOG ON, FILEID OUTPUT_DATA

Because compression is not specified, the system default is used.

This manual is related to the following products: