Scheduled Deletion of a Protected Database

Recovery Service schedules the deletion of a protected database resource and the associated backups.

Using the Console

On the Protected databases list, the State column indicates the status Delete Scheduled, Deleting or Deleted. See Listing Protected Databases for details steps to access the list page.

A protected database resource enters the Delete Scheduled state in these scenarios:
  • You have terminated the source database

    The protected database resource enters the Delete Scheduled state and remains in this state for a period of 72 hours (default delay) or until the retention period expires, depending on the retention option that you have selected before terminating the database.

  • You have disabled automatic backups for the source database

    The protected database resource enters the Delete Scheduled state and remains in this state for a period of 72 hours (default delay).

At the end of the scheduled delay, the protected database exits the Delete Scheduled state and enters the Deleting state. Finally, the Deleted status indicates that the protected database resource is deleted and cannot be modified.

See Life Cycle States of Recovery Service Resources for details.

Using the CLI

Use the oci recovery protected-database schedule-protected-database-deletion command and required parameters to schedule the deletion of a protected database resource.

See Autonomous Recovery Service CLI Command Reference for a complete list of parameters and values for CLI commands.

Using the API

Run the ScheduleProtectedDatabaseDeletion API operation to schedule the deletion of a protected database resource.