![Oracle Database Appliance X6-2-HA Deployment And User'S Manual Download Page 154](http://html1.mh-extra.com/html/oracle/database-appliance-x6-2-ha/database-appliance-x6-2-ha_deployment-and-users-manual_1646047154.webp)
For Long Term backups to the Oracle Object Storage, view the Backup Report for a
database to determine when the backup is obsolete. To delete Long Term Backup, the
Database Resource ID or Database name and the Backup Report are required.
Follow these steps to delete database backups:
1.
Display a list of all backup reports.
# odacli list-backupreports
2.
Obtain the Database ID and type of backup.
# odacli describe-backupreport -i Backup Report ID
3.
To delete obsolete level 0 and level 1 backups, use the Database ID or Database
Name to delete the backup.
# odacli delete-backup -i20576eb1-bc32-4e34-bf97-fda0b60ca15b
4.
To delete Long Term backups, use the Backup Report and a JSON file to delete
the backup.
In the following example, the JSON input file for the backup report is
backupreport.json
.
# odacli delete-backup -i 20576eb1-bc32-4e34-bf97-fda0b60ca15b -br
backupreport.json
Deleting a Backup Policy
Use the Web Console to delete a database backup policy.
1.
Click the Database tab in the Web Console.
2.
Click Backup Policy in the left navigation to display a list of backup policies.
3.
Expand the Actions menu for a backup policy, then click Delete. Click Yes to
confirm that you want to delete the backup policy.
A link to the job appears. When the job completes successfully, the backup policy
is deleted.
Using the CLI to Backup, Restore, and Recover
Use the command-line interface to create a database backup policy.
•
Preparing for Database Backup to Disk
Use the command-line interface to create a policy to backup a database to the
Oracle Fast Recovery Area (FRA) of a disk.
•
Preparing for Database Backup to NFS Location
Use the command-line interface to create a policy to backup a database to an
External FRA (NFS Location).
Chapter 11
Deleting a Backup Policy
11-14
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...