Deleting your deployment and removing your data
When an IBM Cloud® Databases deployment is deleted, it is put in a soft-deleted state for 3 days after which it is removed. Soft-deleted deployments can be recovered by following the steps below.
After the 3-day soft-deletion period has ended, or if a hard deletion is issued, deployments are no longer recoverable.
Deleting your deployment in the user interface
To delete your deployment from the Resource list section dashboard of the IBM Cloud® dashboard, select your deployment. Then, in the overflow menu click Delete service from the drop-down list.
Restoring a soft-deleted instance using the UI
Soft-deleted instances must be restored using the CLI.
Deleting your deployment using the CLI
By using the CLI, you can delete your existing IBM Cloud® Databases deployment with the ibmcloud resource service-instance-delete
command:
ibmcloud resource service-instance-delete <INSTANCE_NAME_OR_CRN>
You can further hard-delete an instance by using ibmcloud resource reclamations
to list soft-deleted instances, followed by ibmcloud resource reclamation-delete <RECLAMATION ID>
to hard-delete it.
Instances hard-deleted by ibmcloud resource reclamation-delete
are unrecoverable and cannot be restored.
Restoring a soft-deleted instance using the CLI
You can use the following command to list the soft-deleted instances that are available for reclamation:
ibmcloud resource reclamations
Then, use the following command to recover them:
ibmcloud resource reclamation-restore <RECLAMATION ID>
Restoring an IBM Cloud® Databases deployment from a soft-deleted state may take several hours.
Cryptoshredding keys
Key Protect provides cryptoshredding, which is deletion of a key that is in use by IBM Cloud® services, including your Cloud Databases deployments.
Cryptoshredding is a destructive action. When the key is deleted, your data is unrecoverable even from a soft delete state.
Backups removal
Backups cannot be manually deleted or removed. However, if you delete your deployment, its backups are deleted automatically.