If you decide to back up the control data sets and journal data
set to multiple tape data sets, the process is a little different.
When you specify the following command, you do not have to allocate
and catalog backup data sets:
SETSYS CDSVERSIONBACKUP(BACKUPCOPIES(copies) -
BACKUPDEVICECATEGORY(TAPE))
You can choose to specify a unit name, density, and retention period
or expiration date.
The following example describes the process of backing up the control
data sets and journal data set to multiple tape backup data sets.
- The following command is specified:
SETSYS CDSVERSIONBACKUP (BACKUPCOPIES(3) -
DATAMOVER(DSS) -
BACKUPDEVICECATEGORY(TAPE))
BACKUPCOPIES(3) indicates
the maximum number of cataloged backup data sets for each control
data set and the journal data set.
- DFSMShsm backs up the control data sets and the journal data set.
DFSMShsm puts only one backup data set on a specific tape. Because
you do not have to preallocate backup data sets when you use tape,
DFSMShsm dynamically allocates a new backup data set. The default
backup data set name is the same for tape as for DASD. Therefore,
if you have not specified the backup data set name with the SETSYS
CDSVERSIONBACKUP command, DFSMShsm uses the default backup data set
name and the correct final qualifier for the new backup data set.
In this case—the first time DFSMShsm backs up the four data
sets—the backup data sets have the following names:
- HSM.MCDS.BACKUP.D0000001
- HSM.BCDS.BACKUP.D0000001
- HSM.OCDS.BACKUP.D0000001
- HSM.JRNL.BACKUP.D0000001
The second time DFSMShsm backs up the four data sets, it
uses a final qualifier of D0000002.
- HSM.MCDS.BACKUP.D0000002
- HSM.BCDS.BACKUP.D0000002
- HSM.OCDS.BACKUP.D0000002
- HSM.JRNL.BACKUP.D0000002
- The third time DFSMShsm backs up the four data sets, it dynamically
allocates a third set of backup data sets and uses a final qualifier
of D0000003.
After DFSMShsm successfully backs up the control data
sets and the journal data set for the fourth time, it uncatalogs the
set of backup data sets whose final qualifier is D0000001 and invokes
installation exit ARCTVEXT for the rolled-off version of each successfully
backed-up data set.
Note: If the backup is not successful
for a particular data set, the oldest version of that data set is
not rolled off, and DFSMShsm invokes the tape installation exit, ARCTVEXT,
that allows you to reuse the bad backup tapes.
- DFSMShsm optionally invokes the control data set backup user exit
ARCCBEXT, allowing you to process the backup version after DFSMShsm
creates it.
Note: - The maximum number of tapes DFSMShsm uses for one backup version
of one control data set or the journal is 18.
- If you change the specification for the number of backup copies
kept to reduce the number of copies, DFSMShsm does not delete or uncatalog
the excess older backup versions that were made before you reduced
the number of copies.