Recovering to a copy

A recovery to a copy restores the target objects from a specified image copy.

About this task

The recovery points can be specified for:

  • Last image copy. You can specify to recover to the last image copy taken, whether full or incremental.
  • Full image copy. This option recovers to the last full image copy before the specified point. Any incremental image copies taken after the full copy are ignored.
  • Incremental image copy. This option recovers to the last incremental image copy before the specified recovery point. The most recent full copy and subsequent incremental image copies up to the recovery point are applied.
  • A specific recovery data set. You can select a particular data set to which to recover.

When you specify a TO method C and Alter method options Y, the Recover Utility Copy Options panel is displayed, as shown in the following figure:

Figure 1. Recover Utility Copy Options panel
 AUTOXPRT V1R1 ------- Recover Utility Copy Options ------ 2023/10/20  09:37:10 
 Option  ===>                                                                   
                                                                                
   Creator: TWUSR      Name: DAJ-1000 RECOVER                 User: TWUSR       
                                                     Db2 Subsystem: SS01        
    Object event  . . . . . . . N  (L - Last, F - Full, I - Incr, blank,        
                                    N - Nosyscopy)                              
    Event generation  . . . . . 00 (00 -1  -2  -3  ...  -9)                     
                                                                                
    Select recovery file  . . . N  (Yes/No)                                     
    Copy data set name  . . . . TWUSR.DAJ.TEST                                  
    Copy volume serial number                                                   
    Copy file sequence number                                                   
    Copy timestamp  . . . . . :                                                 
    Nosyscopy copy type . . . :    (I - Inlcopy, F - FCCOPY, blank)             
                                                                                
    Reuse existing data sets  . N  (Yes/No)                                     
                                                                                
                                                                                

The Object Event field is used to specify the type of copy to recover to:

  • If you enter L, F, or I in the Object event field, and enter 00 in the Event generation field, recovery will be to the last (most recent) specified copy.
  • If you enter L, F, or I in the Object event field, and enter a value in the Event generation field other than 00 (such as -2), recovery will be to the specified number of copies back from the last (most recent) copy.
  • If you enter N in the Object event field, you can select a specific recovery data set that is not represented in SYSIBM.SYSCOPY. This option is available only for Db2 V12 and later subsystems. If you choose this option, you must enter a data set name in the Copy data set name field, and optionally specify a copy type in the Nosyscopy copy type field.
    Note: Concurrent image copies are not supported.
  • If you leave the field blank, you must select a recovery file to which to recover. Refer to Recovering to a file.

Refer to the help panel for a detailed description of the fields on this panel.