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:
- Back up your system:
- 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.
- 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.
- 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.
- Recover your system:
- Stop the Db2 subsystem.
For data sharing systems, stop all members of the group.
- Use DFSMSdss RESTORE
to restore the FlashCopy data
sets to disk.
- For data sharing systems, delete all CF structures that
are owned by this group.
- Start Db2. For
data sharing systems, start all active members.
- 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.