Full Volume Restore Examples
All examples in this section are found in the JCL library installed with FDR. The member names are EX5023x.
FDRDRP is a full-volume restore program, with the same result as an ABR full-volume restore, but it manages the backup tapes to minimize tape mounts and reduce the elapsed time of the restores. Normal ABR full-volume restore does one DASD volume at a time, and may mount an input tape multiple times. FDRDRP does many DASD volumes in parallel and mounts input tapes a minimum number of times (often only once).
Full-Volume restore from current backup example
Two DASD volumes are to be completely restored from ABR full-volume and incremental backups, beginning with the most recent incremental backup:
- PACK01 is to be restored back on top of itself. Its ABR Model DSCB contains the most recent generation and cycle created.
- PACK02 has been destroyed, so its backup is to be restored onto a spare volume (SCR123). Since PACK02 is not online, ABR searches the ABR catalog for the most recent generation/cycle. SCR123 is relabeled PACK02 at the end of the restore.
ABR begins with the most recent incremental backup for each volume, and works back through the incremental backups to the full-volume backup. The two volumes are restored one at a time, in the order of the SELECT statements.
SMSPROT=NONE is specified so that backups of SMS-managed volumes can be restored to non-SMS volume; it is usually used only at disaster recovery sites.
Restore of Full-Volume backup only example
A DASD volume is to be recreated using only the most recent full-volume backup recorded in the ABR catalog. The original volume SYSRES is being restored to a scratch volume SCR001. Since it is relabeled back to SYSRES at a later time, VOLRESET=NO prevents ABR from renaming the ABR Model DSCB or the indexed VTOC.
This should be used when your installation has chosen to recover certain volumes using only the full-volume backup, rather than applying incremental backups. GEN=CURRENT forces ABR to locate the most recent generation in the catalog, while CYCLE=00 causes ABR to restore from only the full-volume backup that began that generation.
SMSPROT=NONE is specified so that backups of SMS-managed volumes can be restored to non-SMS volume; it is usually used only at disaster recovery sites.
Full-Volume restore from current backup example
The ten volumes indicated on the SELECT statements are restored. Since the volumes at the disaster site are pre-initialized to a known volume serial, each SELECT specifies VOL= for the volume to be restored and NVOL= for the target volume to restore to. FDRABR locates the most recently created COPY2 backup for each DASD volume in the ABR catalog, which must have been previously restored.
Each target volume is relabeled to the serial of the restored DASD. All required DASD and tapes are dynamically allocated since ONLINE and DYNTAPE are coded. If the volumes are already initialized to the correct volume serial numbers, NVOL= is not needed; review Restore of Full-Volume Backup Only Example for an example utilizing this method.
The default to restore all the incremental backups for the restored volumes is done since CYCLE= is not coded. If there are a lot of incremental backups being restored, you may want to consider using FDRDRP to streamline the restore process. FDRDRP is documented in FDRDRP.
Restore of Full-Volume backup only example
A number of volumes are restored from their most recent full-volume backup only. On each SELECT statement, GEN=CURRENT and CYCLE=00 selects the last full-volume backup. FDRABR locates the most recently created COPY1 (the default) backup for each DASD volume in the ABR catalog, which must have been previously restored.
Each target volume is already initialized with the serial of the restored DASD volume. All required DASD and tapes are dynamically allocated since ONLINE and DYNTAPE are coded. Additionally, MAXDD=500 is specified since more than the default of 256 volumes are being restored.