Deleting a custom resource for backing up or restoring Db2
Important: IBM Cloud Pak® for Data
Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.
You cannot recover a custom resource that has been deleted.
Deleting a custom resource for backing up
Before you delete a custom resource for backing up Db2, consider the following restrictions:
- You cannot restore from a deleted backup.
- A backup image on disk is not deleted, if a completed backup from a custom resource is not deleted.
- Do not delete database-level backups manually. Database-level backups are deleted automatically.
- It is not recommended to delete a backup custom resource, unless the backup status indicates InvalidSpec, Error, or Expired.
You can delete a custom resource for backing up by running the following command:
Warning: You cannot recover a custom resource that has been
deleted.
oc delete db2ubackup <name of your db2ubackup>Deleting a custom resource for restoring
You can delete a custom resource for restoring by running the following command:
Warning: You cannot recover a custom resource that has been
deleted.
oc delete db2urestore <name of your db2urestore>