Recovering by using FlashCopy volume backups

You can use FlashCopy® volume backups to recover your Db2 system to the point in time of a backup.

Procedure

To recover by using FlashCopy volume backups:

  1. Back up your system:
    1. Issue the Db2 command SET LOG SUSPEND to suspend logging and update activity, and to quiesce 32 KB page writes and data set extensions. For data sharing systems, issue the command to each member of the group.
    2. Use the FlashCopy function to copy all Db2 volumes. Include any ICF catalogs that are used by Db2, as well as active logs and BSDSs.
    3. Issue the Db2 command SET LOG RESUME to resume normal Db2 update activity. To save disk space, you can use DFSMSdss to dump the disk copies that you just created to a lower-cost medium, such as tape.
  2. Recover your system:
    1. Stop the Db2 subsystem. For data sharing systems, stop all members of the group.
    2. Use DFSMSdss RESTORE to restore the FlashCopy data sets to disk.
    3. For data sharing systems, delete all CF structures that are owned by this group.
    4. Start Db2. For data sharing systems, start all active members.
    5. For data sharing systems, execute the GRECP and LPL recovery, which recovers the changed data that was stored in the coupling facility at the time of the backup.