SELECT Statement for Full Volume Restore


SELECT VOL statement syntax

SELECT

VOL=vol


,COPY=n


,CYCLE=nn


,GEN=CURRENT|nnnn


,NVOL=vol

SELECT VOL statement

One or more SELECT Volume statements must follow a RESTORE TYPE=FDR statement to specify the volumes to be recovered, one per statement. Volumes are recovered one at a time, in the order specified.

SELECT VOL statement operands

VOL=

vol

Specifies the DASD volume serial number of the original DASD to be restored. It must be present. If NVOL= is not specified, the backup is restored to a DASD volume that currently has the original serial (either the original DASD or a new volume that has been initialized with that serial). A DISKxxxx DD statement must be provided pointing to the restore target volume unless the ONLINE operand was specified on the RESTORE statement.

COPY=

n

Specifies the copy (1 to 9) of the backup from which the restore is to be done. COPY=2 can be specified if a duplicate tape copy (TAPExx) was created at backup time. Copies 2 through 9 can be created by the FDRTCOPY or FDRTSEL utility (see FDR-and-ABR-Backup-Maintenance).

If COPY=1 or 2 and ABR finds that one of the backup tapes is not cataloged under the copy specified, ABR checks to see if the other copy was created. If cataloged, ABR uses the other copy. So, if the specified copy has expired (and been uncataloged by a tape management system) ABR automatically uses the other copy (1 or 2) if it still exists.

Default: The value from the RESTORE statement or from the FDR Global Options (see BKPCOPY in Set-RESTORE-Statement).

CYCLE=

nn

Specifies the cycle (incremental backup, 0 to 63) number that ABR is to read first while restoring this volume. This option is used if you do not wish to start the restore with the most recent cycle created in the current generation or if you specified GEN=gggg to restore from an older generation (CYCLE= is required if GEN= is given). ABR reads this backup file first and continues backwards through the incremental backups until the full volume (TYPE=FDR) backup is encountered. CYCLE=0 only restores the full volume backup.

Default: See GEN= in .

GEN=

nnnn

Specifies the generation number (1 to 9999) which ABR is to read while restoring this volume. This may be used if you wish to restore from a specific generation other than the most current. If GEN= is specified, CYCLE= must also be specified.

CURRENT

If GEN=CURRENT is specified, ABR searches for the most recently created generation and cycle cataloged for this volume in the ABR catalog; the ABR Model DSCB is not used and original volume need not be online. If GEN=CURRENT,CYCLE=nn is specified, then the specified cycle in the generation from the catalog is used (CYCLE=00 can be used to restore only the full-volume backup from the current generation).

Default: ABR reads the ABR Model DSCB from the volume specified by VOL= to obtain the most recently created generation and cycle. If the volume is offline, if the model does not exist or has been destroyed, or if the model indicates that no backups exist, then it defaults to GEN=CURRENT and gets the GEN and CYCLE from the ABR catalog. If you want to restore from the latest incremental backup in the current generation, omit GEN=.

NVOL=

vol

Specifies the current volume serial of the DASD volume to which this backup is restored. A DISKxxxx DD statement must be provided pointing to the restore target volume unless the ONLINE operand was specified on the RESTORE statement. This might be used at a disaster recovery site where the site personnel preinitialize all of the DASD volumes to known volume serials; you can do the ABR volume recoveries without having to relabel all of their volumes to your volume serial numbers. If CPYVOLID=YES was specified or defaulted on the RESTORE statement, the output volume is relabeled to the original volume serial at the end of the restore.

Default: The backup is restored to a DASD volume labeled with the original volume serial.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*