HP NonStop G-Series User Manual
Page 57

DSM/TC Tape Processing
DSM/Tape Catalog User’s Guide — 520233-008
3 - 5
Copying a Volume Set Created by the BACKUP
Utility
3> & POOL OPERATIONS_TAPES,&
3> & VOLUME SCRATCH,&
3> & FILEID PAYROLL_BACKUP
4> ADD DEFINE =OUT2, CLASS TAPECATALOG,&
4> & USE OUT,&
4> & LABELS BACKUP,&
4> & POOL OPERATIONS_TAPES,&
4> & VOLUME SCRATCH,&
4> & FILEID PAYROLL_BACKUP
5> BACKUP (=OUT1, =OUT2), $PAY.*.*, LISTALL, CATALOGFILES
You cannot use the same DEFINE twice, even if they are identical as in this
example.
After the backup run, two tape file entries in the file catalog have the same
generation number and physical number. The disk file entries are not shown.
Because the payroll files are the same physical copy, tape X00018 can be
substituted for X00015, tape X00019 for X00016, and X00020 for X00017 during a
restore operation.
Using the backup volume sets in the previous example, suppose you need two
copies of logical copy 2 of PAYROLL_BACKUP. To keep the BACKCOPY copies in
the same generation of the backup tapes, you must use the same file name of the
backup tape for the BACKCOPY output files, and you must specify the same
generation number in the DEFINE.
1. Run BACKCOPY in parallel mode to produce these copies:
8> ADD DEFINE =IN, CLASS TAPECATALOG,&
8> & USE IN,&
8> & LABELS BACKUP,&
8> & FILEID PAYROLL_BACKUP
9> ADD DEFINE =OUT1, CLASS TAPECATALOG,&
9> & USE OUT,&
9> & LABELS BACKUP,&
9> & POOL OPERATIONS_TAPES,&
9> & VOLUME SCRATCH,&
Tape File Name
Tape Name
Absolute
Generation
Physical Copy
Logical Copy
PAYROLL_BACKUP
X00015,
X00016,
X00017
1
1
1
PAYROLL_BACKUP
X00018,
X00019,
X00020
1
1
2