Examples of how to code the BACKVOL command for non-SMS-managed volumes
The following examples present different ways to code the BACKVOL command for non-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))
The following example shows how to code the BACKVOL command to
back up all defined control data sets according to options specified
by the SETSYS CDSVERSIONBACKUP parameter or its defaults.
BACKVOL CONTROLDATASETS
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 a volume
In this example, all the data sets on a volume not managed by DFSMShsm
are backed up. Because you have not specified TERMINAL, the data
set backup messages go only to the backup activity log.
BACKVOL VOLUMES(PUB025) UNIT(3390) TOTAL
Backing up eligible data sets on DFSMShsm-managed volumes
In this example, only two kinds of data sets are backed up:
- Data sets that have never been backed up.
- Data sets that have been changed since the last backup version was created and that meet the specified frequency of two days since the last backup version was created.
BACKVOL VOLUMES(VOL003,VOL004,VOL005) INCREMENTAL FREQUENCY(2) +
BACKUPDEVICECATEGORY(TAPE) TERMINAL
Dumping a primary volume to a dump class
In this example, a primary volume, PRIM13, is dumped to a specific
class, EXTRA, and assigns the dump copy a retention period of 10 days.
BACKVOL VOLUMES(PRIM13) +
DUMP(DUMPCLASS(EXTRA) RETENTIONPERIOD(10))
In this example, the volume PRIM13 is dumped to a dump class called
OLDCLASS. The retention period is the retention period of OLDCLASS.
BACKVOL VOLUMES(PRIM13) DUMP(DUMPCLASS(OLDCLASS))
In this example, the volume PRIM13 is a primary volume dumped to
the classes associated with it by the previous ADDVOL command with
the AUTODUMP parameter.
ADDVOL PRIM13 PRIMARY(AD(WEEKLY,MONTHLY)) +
UNIT(3390)
BACKVOL VOLUMES(PRIM13) DUMP
In this example, five dump copies are made of volume PRIM13. The
retention periods for the first three dump copies are the retention
periods for the corresponding dump classes. The retention period for
the fourth dump copy is 60 days. The fifth dump class has an unlimited
retention period.
BACKVOL VOLUMES(PRIM13) +
DUMP(DUMPCLASS(WK,MNTH,DLY,VITREC,SPEC) +
RETENTIONPERIOD(*,*,*,60,NOLIMIT))