How To Fix the Database Cloud (DBaaS) Service Instance Deletion Failure Due To an Unsuccessful Backup Deletion

(Doc ID 2359863.1)

Last updated on APRIL 30, 2018

Applies to:

Oracle Database Cloud Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Goal

We can use Database Cloud Service console to delete the DBaaS Service and the associated backup.

a. Open the Services page of the Oracle Database Cloud Service console.

b. Select Delete from the Hamburger Menu icon menu corresponding to the database deployment that you want to delete.

c. Use the confirmation dialog to confirm that you want to delete the database deployment.

Optionally, you can also select the option to delete the backups associated with the database deployment.

Reference: Deleting a Database Deployment

The option to delete the backups associated with the database deployment only exists for deployments that are created using Database Cloud Service release 17.1.5 or later.

You can select the option to delete the backups associated with the database deployment, while we are deleting the Database Cloud (DBaaS) Service Instance. Now, if you need

this backup for the future use, you can simply uncheck the select box to exclude the backup while deleting the service.

Generally the flow will be:

  1. Delete backups for the target Database Service Instance
  2. Delete the Database Service Instance

But there are times where this operation from Database Cloud Service console may fail with Error as given below (Activity Console Log):

 

Here activity log will give you only a high level overview of the underlying error and we may need to involve Ops team/ Development to identify the root cause of this issue.

alternatively, we can do the following:

  1. Delete backups for the target Database Service Instance through bkup_api/ RMAN/ REST API
  2. Delete the Database Service Instance

Note that, this is mandatory if your Database Deployment was deployed before release 17.1.5.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms