The following examples present different ways to code the BACKVOL
command for SMS-managed volumes:
Note: Any values specified here are only examples and should
not be interpreted as the values to be used for your system.
Backing up control data sets
In this example, control data sets are backed up to DASD, using
DFSMSdss as the datamover.
BACKVOL CONTROLDATASETS(BACKUPDEVICECATEGORY(DASD) DATAMOVER(DSS))
Nulling the journal
In this example, the journal is nulled and the control data sets
are not backed up.
BACKVOL CONTROLDATASETS(NULLJOURNALONLY)
Backing up all the data sets on an SMS-managed volume
In this example, all the data sets on an SMS-managed volume are
backed up if their management class attributes allow command backup.
Because you did not specify TERMINAL, the data set backup messages
go only to the backup activity log.
BACKVOL VOLUMES(SMS025) TOTAL
Backing up eligible data sets on an SMS-managed volume
In this example, the eligible data sets, as defined by their management-class
attributes, are backed up. The backup versions of these data sets
will reside on tape. The data set backup messages appear at the system
console and in the backup activity log.
BACKVOL VOLUMES(VOL003) INCREMENTAL TERMINAL +
BACKUPDEVICECATEGORY(TAPE)
Dumping an SMS-managed volume to a specified dump class
and retention period
In this example, an SMS-managed volume, SMS13, is dumped to a specific
class, EXTRA, and the dump copy is assigned a retention period of
10 days.
BACKVOL VOLUMES(SMS13) +
DUMP(DUMPCLASS(EXTRA) RETENTIONPERIOD(10))
Dumping an SMS-managed volume to a dump class
In this example, the volume SMS13 is dumped to a dump class called
OLDCLASS. The retention period is taken from the definition of class
OLDCLASS.
BACKVOL VOLUMES(SMS13) DUMP(DUMPCLASS(OLDCLASS))
In this example, the volume SMS13 is dumped to the dump classes
associated with its storage group definition.
BACKVOL VOLUMES(SMS13) DUMP
In this example, five dump copies are made of volume SMS13. The
retention periods for the first three dump copies are the retention
periods from the corresponding dump classes. The retention period
for the fourth dump copy is 60 days. The retention period for the
fifth dump class is unlimited.
BACKVOL VOLUMES(SMS13) +
DUMP(DUMPCLASS(WK,MNTH,DLY,VITREC,SPEC) +
RETENTIONPERIOD(*,*,*,60,NOLIMIT))
Backing up all defined control data sets
The following example shows how to code the BACKVOL command to
back up all defined control data sets.
BACKVOL CONTROLDATASETS
Backing up data sets in several storage groups
In this example, all the supported data sets on the volumes in
the storage groups: HSMONE, HSMTWO, and HSMFOUR are to be backed up
by DFSMShsm.
BACKVOL STORAGEGROUP(HSMONE,HSMTWO,HSMFOUR) TOTAL
Dumping all volumes of a storage group to a specific
dump class
In this example, DFSMShsm dumps all volumes in storage group, SGSMALL.
The dump stacking and retention options are obtained from the definition
of dump class, SPECIAL.
BACKVOL STORAGEGROUP(SGSMALL) DUMP(DUMPCLASS(SPECIAL))