DSM/Tape Catalog User's Guide

Introduction to DSM/TC
DSM/Tape Catalog User’s Guide 520233-008
1 - 15
CATALOGFILES Option of BACKUP and
BACKCOPY
File-Mode Backup
Cataloging the copied disk files when you run the BACKUP utility in file mode, DSM/TC
tracks which disk file entry belongs to which tape. Needed tape volumes can be
automatically selected when restoring. This makes individual file recovery more
efficient than without using CATALOGFILES. CATALOGFILES does not apply to
Backup Restore 2.0 BACKUP.
This example shows a file-mode run of BACKUP in which cataloging is requested only
for the disk file name of the output volume set with user-defined catalogfiles number:
3> ADD DEFINE =BACKUP_OUTPUT, CLASS TAPECATALOG,&
3> & USE OUT,&
3> & LABELS BACKUP,&
3> & POOL OPERATIONS_TAPES,&
3> & VOLUME SCRATCH,&
3> & FILEID WEEKLY_PAYROLL
4> BACKUP =BACKUP_OUTPUT, $PAY.*.*, LISTALL, CATALOGFILES
At the conclusion of the job, the file catalog has one tape file entry for
WEEKLY_PAYROLL. All the disk file entries created for the copied disk files point to
that tape file entry. The tape and disk file entries are linked to volume catalog entries of
the tapes used in the run.
For more information on the BACKUP utility and file-mode backup procedures, see the
Guardian Disk and Tape Utilities Reference Manual and the Backup Restore 2.0
Manual.
The BACKCOPY Utility
Use the BACKCOPY utility to make copies of a backup volume set created by a file-
mode run of the standard BACKUP utility. You can catalog just the tape file name of the
copied tape set or the tape file name and all the disk file names associated with it.
BACKCOPY is a standard Backup Restore utility.
In this example, you need the volume set created by a file mode BACKUP run for the
tape file WEEKLY_PAYROLL. The =COPY_IN DEFINE requests the current generation
of WEEKLY_PAYROLL (in this example, 4), and the =COPY_OUT DEFINE creates a
copy with the same generation number as the input file:
6> ADD DEFINE =COPY_IN, CLASS TAPECATALOG,&
6> & USE IN,&
6> & LABELS BACKUP,&
6> & FILEID WEEKLY_PAYROLL
7> ADD DEFINE =COPY_OUT, CLASS TAPECATALOG,&
7> & USE OUT,&
Caution. If the value of catalogfiles number is low when backing up large number of small
files, it will hit too many catalog updates in a short period of time. This might affect the
performance of the BACKUP utility.