Recovering with DFSMShsm

To recover a volume with DFSMShsm, issue the RECOVER command.

The following RECOVER command recovers LNX200 from the most recent dump.

RECOVER * TOVOLUME(LNX200) UNIT(3390) FROMDUMP

The following RECOVER command recovers LNX200 from the most recent dump of the MONTHLY dump class.

RECOVER * TOVOLUME(LNX200) UNIT(3390) - 
   FROMDUMP(DUMPCLASS(MONTHLY))

The following RECOVER command recovers LNX200 from the third most recent dump. Generation 0 is the most recent dump, 1 is the second most recent, and so on.

RECOVER * TOVOLUME(LNX200) UNIT(3390) - 
   FROMDUMP(DUMPGENERATION(2))

To recover a partition from a DFSMShsm dump with DFSMShsm, you again use the RECOVER command and the LIST command. See The DFSMShsm LIST command on how to use the LIST command. You must use the LIST command to find the dump tape that has the dump from which you want to recover your partition. You also need to know the data set and partition naming conventions so that you recover the correct data set for your partition. The naming conventions are listed in Naming conventions.

The following RECOVER command recovers data set LINUX.VLNX200.PART0002.NATIVE that holds partition part2 on LNX200. You must specify the SOURCEVOLUME parameter if the dump class has a STACK value greater than one because the dump tape may hold more than one dump data set.

RECOVER LINUX.VLNX200.PART0002.NATIVE - 
   FROMDUMP(DUMPVOLUME(LX0001) SOURCEVOLUME(LNX200)) REPLACE