Recovery policy

Use the recovery policy to instruct BRMS on how to implement your recovery plan. For example, you can use the recovery policy to select the types of media and devices you want to use for the recovery. You can also use the recovery policy to instruct BRMS to restore objects and libraries in specific ways.

To get to the recovery policy display, take the following steps:
  1. Type WRKPCYBRM *RCY at a command line. Press Enter.
                             Change Recovery Policy                      RCHAS400    
                                                                                     
     Type choices, press Enter.                                                      
                                                                                     
       Recovery device. . . . . . . . . . *MEDCLS       Name, F4 for list            
                                                                                     
                                                                                     
                                                                                     
       Parallel device resources:                                                    
         Minimum resources. . . . . . .   *SAV          1-32, *NONE, *AVAIL          
         Maximum resources. . . . . . .                 1-32, *AVAIL, *MIN           
       End of tape option . . . . . . . . *REWIND       *REWIND, *LEAVE, *UNLOAD     
       Option . . . . . . . . . . . . . . *ALL          *ALL, *NEW, *OLD, *FREE      
       Data base member option  . . . . . *ALL          *MATCH, *ALL, *NEW, *OLD     
       Restore spooled file data  . . . . *NONE         *NONE, *NEW                  
       Allow object differences . . . . . *NONE         *NONE, *ALL, *AUTL,          
                                                        *FILELVL, *OWNER, *PGP       
                                                                                     
                                                                                     
                                                                                     
                                                                            More...  
     F3=Exit    F4=Prompt    F5=Refresh    F9=System policy                          
     F12=Cancel                                                                      
    The following are brief summaries of the key parameters on this display.
    • In the Recovery devices field, specify the device or devices that you want to perform the recovery. You can specify a specific device name or *MEDCLS, which instructs BRMS to select any available device that matches the media class you plan to use.
      Note:
      1. If you did not notify BRMS that you recently moved media from an off-site to an on-site location, the *MEDCLS device search may fail. For this reason, it is better to explicitly name the device you want BRMS to use for the recovery.
      2. If BRMS cannot find the media in its specified location and *MEDCLS was specified, BRMS will try to locate the media in the available devices.
    • In the Parallel device resources field, specify whether you want to perform parallel recoveries. In a parallel recovery, BRMS allocates multiple devices to process one large job. You need multiple devices (at least two) to use this option. BRMS can only perform parallel restores on information that was saved with the parallel process. You can find more information about parallel and concurrent (multiple jobs to multiple devices) recoveries later in this chapter.
    • Use the Database member option field to specify which members of database files you want to restore to the database.
    • Use the Restore spooled file data field to specify whether spooled files saved concurrently with saved output queues are to be restored when the output queues are restored.
    • In the Allow object differences field, you can instruct BRMS to allow differences between saved and restored objects.
      Note: When restoring objects that BRMS saved with SAVOBJ or SAVCHGOBJ, BRMS will change the parameter to ALWOBJDIF(*FILELVL *AUTL *OWNER *PGP) for these objects to prevent the renaming.
  2. Page to the next display to see additional recovery policy options.
                             Change Recovery Policy                      RCHAS400    
                                                                                     
     Type choices, press Enter.                                                      
                                                                                     
       Restore to library . . . . . . . . *SAVLIB       Name, *SAVLIB                
       Auxiliary storage pool . . . . . . *SAVASP       Name, *SAVASP, 1-32 ...      
       Document name generation . . . . . *SAME         *SAME, *NEW                  
       System resource management . . . . *ALL          *ALL, *NONE, *HDW, *TRA      
       Restore into folder  . . . . . . . *SAME                                      
                                                                                     
       Apply journaled changes:                                                      
         Restore journal receivers . . .: *YES          *YES, *NO                    
         Apply option  . . . . . . . . .: *NONE         *NONE, *APPLY, *REMOVE       
           Ending date . . . . . . . . .: *CURRENT      Date, *CURRENT               
           Ending time . . . . . . . . .: *CURRENT      Time, *CURRENT               
       Lotus point-in-time:                                                          
         Ending date . . . . . . . . . .: *CURRENT      Date, *CURRENT, *FULL        
         Ending time . . . . . . . . . .: *CURRENT      Time, *CURRENT, *FULL        
       Create parent directories . . . .: *NO           *NO, *YES                    
         Parent directories owner  . . .: *PARENT       Name, *PARENT                
                                                                            More...  
     F3=Exit    F4=Prompt    F5=Refresh    F9=System policy                          
     F12=Cancel                                                                      
    The following are brief summaries of the key parameters on the second page.
    • In the Restore to library field, indicate whether to restore library contents to a library different from the one in which they were saved. You should not leave this as *SAVLIB. Instead, either name a specific default library (for example, RESTORES) or use the system-provided QTEMP library. If you leave the value at *SAVLIB, you run the risk of overwriting a production library. To avoid this, you should change the default. If you want to restore the original library at a later time, you can override the name you specify here when you want to perform the recovery operation.
    • In the Auxiliary storage pool ID field, indicate whether to restore libraries and objects to the same auxiliary storage pool (ASP) in which they originated.
    • In the Restore into folder field, specify the name of the folder in which the restored folders and documents to be restored will be placed.
    • In the Restore journal receivers field, specify whether you want journal receivers for journaled objects to be restored when the journaled objects are restored.
    • Use the Apply option field to specify whether the journal changes are applied to journaled objects after the objects are restored.
    • In the Ending date/Ending time field, specify the date and time of the last journal entry that is applied. See Recovery with apply journal changes for additional information about recovery of journaled objects.
    • In the Lotus® point-in-time Ending date/Ending time field, you can instruct BRMS how Lotus server objects are restored. You can specify whether only the full save is recovered, or the full save and all current incremental saves are recovered, or the full save and incremental saves up to a specific point in time are recovered. See Lotus server recovery for additional information about recovery of Lotus server objects.
    • Use the Create parent directories field to specify whether parent directories are to be created automatically if the directories do not exist before the object is restored.
      Note: This parameter only applies to "root" (/), QOpenSys, and user-defined file systems.

      The Parent directories owner field specifies the name of the owner to be used for the parent directory when creating parent directories which do not exist.

  3. Page to the next display to see additional recovery policy options.
                             Change Recovery Policy                      RCHAS400   
                                                                                    
     Type choices, press Enter.                                                     
                                                                                    
       Key store file . . . . . . . . . . *SAV          Name, *SAV, *NONE           
         Key store library  . . . . . . .   *SAV        Name, *SAV, *NONE           
       Restore private authorities. . . . *NO           *NO, *YES                   
                                                                                    
       Output options for recoveries:                                               
        Output. . . . . . . . . . . . . . *NONE         *NONE, *OUTFILE             
        File to receive output. . . . . .               Name                        
         Library. . . . . . . . . . . . . *LIBL         Name, *LIBL, *CURLIB        
        Output member options:                                                      
         Member to receive output . . . . *FIRST        Name, *FIRST                
         Replace or add records . . . . . *REPLACE      *REPLACE, *ADD              
                                                                                    
       Output options for directory object recoveries:                              
        Output. . . . . . . . . . . . . . *NONE                                     
                                                                                    
                                                                                    
                                                                            Bottom  
     F3=Exit    F4=Prompt    F5=Refresh    F9=System policy                         
     F12=Cancel                                                                     
                                                                                    
    The following are brief summaries of the key parameters on the third page.
    • In the Keystore file and Keystore library fields, indicate what keystore file and library you need to use to restore saved items. Default is *SAV, to use the saved file in our history. However you have the option, in a remote restore case, to specify a different key file since it may reside in a different file and location on the remote system.
    • In the Restore private authorities field you may specify to restore any private authorities if they have been saved. The default value is *NO. You need to have all object authority *ALLOBJ to be able to restore private authorities.
    • In the Output options for recoveries, you may specify an output option. Currently you can only specify *NONE, for no output, or *OUTFILE to produce a database file with data about the recovery
    • In the Output options for directory object recoveries, you may specify an output option. Currently you can only specify *NONE, for no output, or *OUTFILE to produce a database file with data about the recovery.
  4. After reviewing and changing the parameters as needed, press Enter to save and exit.

BRMS uses only one recovery policy to cover all of your recovery needs. You should only need to set recovery policy parameters once. However, it is possible to change recovery policy values on an item by item basis by using the Restore Command Defaults display. Later in this chapter, you learn how to access and use this display.

                            Select Recovery Items                    RCHAS400   
                                                                                
                                           Select action  . . . . . : *ALL      
                                           Select volume  . . . . . :           
                                                                                
Type options, press Enter.                                                      
  1=Select   4=Remove   5=Display   7=Specify object                            
                                                                                
    Saved        Save     Save   Save   Parallel Volume    File        Expire   
Opt Item         Date     Time   Type   Devices  Serial    Sequence    Date     
    LIB1       10/15/05 15:12:36 *FULL           000C0D            1    5/19/06 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                         Bottom 
 F3=Exit   F5=Refresh   F9=Recovery defaults   F11=Object View                  
 F12=Cancel   F14=Submit to batch   F16=Select