You can recover your Db2 subsystem
if you do not use the BACKUP SYSTEM utility to produce backups.
Procedure
To recover your Db2 subsystem
without using the BACKUP SYSTEM utility:
- Prepare for recovery.
- 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 data sharing
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 activity.
- Use DFSMSdss to
dump the disk copies that you just created to tape, and then transport
this tape to the remote site. You can also use other methods to transmit
the copies that you make to the remote site.
- Recover your Db2 subsystem.
- Use DFSMSdss to
restore the FlashCopy data
sets to disk.
- Run the DSNJU003 utility by using the CRESTART
CREATE, SYSPITR=log-truncation-point control statement.
The log-truncation-point is the RBA or
LRSN of the point to which you want to recover.
- Restore any logs on tape to disk.
- Start Db2.
- Run the RESTORE SYSTEM utility using the RESTORE SYSTEM
LOGONLY control statement to recover to the current time (or to the
time of the last log transmission from the local site).