Restoring Db2 with a custom resource
You can use a custom resource to restore your Db2 database.
Before you begin
- A deployed Db2 database in Ready state.
- A completed backup operation to restore from.
About this task
Creating the restore custom resource starts the restore operation.
The type of backup operation specified in the backup's custom resource determines the type of restore operation. For an incremental backup, the restore custom resource sets a flag for an automatic incremental backup, which allows only one backup designation for the restore operation. To restore all of your most recent changes, specify the last incremental backup.
Important: If you have already restored from a backup, do not restore from another
backup made before that restore operation. Doing so can result in issues such as dropping the
database before the next restore, which will require manual intervention.