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.
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.