Recovering a copy pool using fast reverse restore

You can use the FRRECOV COPYPOOL(cpname) command to recover all volumes associated with the named copy pool defined with fast reverse restore capability. DFSMShsm saves the copy pool fast reverse restore capability setting at the time of the fast replication backup. There are no additional keywords to specify to recover from a DASD copy pool fast reverse restore eligible version. If the state of the FlashCopy® relationships meet the fast reverse restore requirements, DFSMShsm uses fast reverse restore to recover the copy pool. Otherwise, DFSMShsm will use regular FlashCopy if the background copy has completed.

Following a successful fast reverse restore, the contents of the DASD backup volume become invalid. DFSMShsm invalidates and initializes the individual DASD backup volume so it is ready to be reused. When the entire copy pool has been successfully recovered, DFSMShsm invalidates the DASD copy pool backup version.

If some of the volumes fail to recover, the FASTREPLICATIONSTATE of the DASD version becomes FCFRRINCOMPLETE. You can issue the FRRECOV COPYPOOL(cpname) command again after you have addressed the reason for the failure. DFSMShsm will try to recover the remaining volumes again using fast reverse restore.

Fast reverse restore is not supported with multiple FlashCopy targets. For a successful fast reverse restore, verify there are not multiple FlashCopy targets before issuing the FRRECOV COPYPOOL(cpname) command. To remove unneeded DFSMShsm-managed FlashCopy targets, issue FRBACKUP COPYPOOL(cpname) WITHDRAW to withdraw the most recent DASD backup copy, or issue FRDELETE COPYPOOL(cpname) VERSION(n) to delete a specific backup version. For non-DFSMShsm-managed FlashCopy targets, issue ICKDSF FLASHCPY WITHDRAW or SDM FCWITHDR to withdraw the unneeded FlashCopy relationships.

To determine if a copy pool is defined to allow fast reverse restore and select a fast reverse restore eligible backup version, issue LIST COPYPOOL (cpname). If the copy pool is defined allowing fast reverse restore at time of backup, the output displays the backup version with: FCFRR=Y. Otherwise, the output contains: FCFRR=N.

Example: LIST COPYPOOL(CP1) will list information about the copy pool named CP1, which is defined to allow fast reverse restore.
LIST COPYPOOL(CP1) OUTDATASET

-- DFSMShsm CONTROL DATASET --COPY POOL--LISTING -- AT 09:25:44 ON 09/03/07 FOR SYSTEM=1234

COPYPOOL=CP1
ALLOWPPRCP FRB=PN FRR=PN

VERSION  VTOCENQ     DATE           TIME     FASTREPLICATIONSTATE  DUMPSTATE
  002      Y      2009/03/06      16:35:24   RECOVERABLE           ALLCOMPLETE
TOKEN(C)=C''
TOKEN(H)=X''
TOTAL NUM OF VOLUMES=00002,INCREMENTAL=N,CATINFO=N,FCFRR=Y,RECOVERYINCOMPLETE=N

To determine if fast reverse restore can be used for a copy pool version, issue the QUERY COPYPOOL command. When fast reverse restore can be used, the QUERY COPYPOOL command output will display "background copy percent-complete" (PCT-COMP) information other than "***". Percent-complete information (a percentage) is available for full-volume FlashCopy pairs with an incomplete background copy only. A full-volume FlashCopy relationship is established when the FlashCopy technique (such as fast reverse restore or incremental) designates it, or when SETSYS FASTREPLICATION(FCRELATION(FULL)) has been specified.

Because fast reverse restore will invalidate the entire DASD backup version following a successful recovery, you can use the PCT-COMP percentage to determine how far along the background copy is and decide whether fast reverse restore should be used for recovery.

Note:
  1. A DASD backup version can be used for fast reverse restore only once because the process invalidates the data on the backup volume. Keep dump tape copies in addition to DASD backup copies when you plan to use the fast reverse restore function.
  2. VERIFY(N) cannot be specified when the copy pool is defined allowing fast reverse restore unless a previous FRRECOV COPYPOOL operation has determined the copy pool backup version is no longer eligible to use fast reverse restore. Regular fast replication recovery can be used instead.
  3. When a recovery operation such as fast reverse restore from a DASD backup will invalidate an existing DASD copy that has an incomplete dump copy, the recovery operation fails. To force the use of a DASD copy with an incomplete dump copy, specify the FORCE parameter on the FRRECOV command.
  4. The preserve mirror operation cannot be used in combination with fast reverse restore. Do not specify PMPREF or PMREQ in the FRBACKUP to PPRC Primary Volumes allowed or FRRECOV to PPRC Primary Volumes allowed fields for a copy pool defined allowing fast reverse restore.