You can delete long-term backups created using the
bkup_api utility with the
You cannot delete backups that are associated with the automatic backup configuration, whether they were created using the
bkup_api utility, the
raccli utility, or the Oracle Database Cloud Service console. These backups are deleted automatically based on the retention period that is associated with the automatic backup configuration.
To delete a long-term backup of a database deployment on Oracle Database Cloud Service:
Connect to the compute node as the
For detailed instructions, see Connecting to a Compute Node Through Secure Shell (SSH).
Start a root-user command shell:
$ sudo -s #
List the available long-term backups:
# /var/opt/oracle/bkup_api/bkup_api list --keep
A list of available backups is displayed. Note the tag of the backup that you want to delete.
Delete the backup:
# /var/opt/oracle/bkup_api/bkup_api bkup_delete --bkup=backup-tag
backup-tagis the tag of the backup you want to delete.
Exit the root-user command shell:
# exit $