![Oracle Database Appliance X6-2-HA Скачать руководство пользователя страница 250](http://html1.mh-extra.com/html/oracle/database-appliance-x6-2-ha/database-appliance-x6-2-ha_deployment-and-users-manual_1646047250.webp)
•
Delete long term backups from Oracle Object Storage by using a JSON file with
the
--backupreport
option.
•
To locate the database ID, view the databases in the Web Console or use the
command
odacli list-databases
.
Example 13-30 Delete a Level 0 or Level 1 Backup
# odacli delete-backup -i20576eb1-bc32-4e34-bf97-fda0b60ca15b
Example 13-31 Delete a Long Term Backup Report
Delete a Long Term backup using a JSON input file for the Backup Report. In this
example, backupreport.json is the JSON input for the backupreport.
# odacli delete-backup -i 20576eb1-bc32-4e34-bf97-fda0b60ca15b -br
backupreport.json
odacli delete-backupconfig
Use the command
odacli delete-backupconfig
to delete a backup
configuration.
File Path
$ORACLE_HOME/opt/oracle/dcs/bin/odacli
Syntax
odacli delete-backupconfig -i backup configuration id [-h] [-j]
Parameters
Parameter
Description
--help
,
-h
(Optional) Displays help for using the
command.
--id
,
-i
Defines the Backup Config identifier (ID).
--json
,
-j
(Optional) Displays JSON output. The default
is false.
Usage Notes
You cannot delete a backup configuration if it is attached to a database.
Example 13-32 Deleting a Backup Configuration
Delete a backup configuration named
production
that backs up to disk with a 14 day
recovery window.
# odacli delete-backupconfig -d Disk -n production -w 14
Chapter 13
odacli Backup and Recovery Commands
13-41
Содержание Database Appliance X6-2-HA
Страница 15: ...Index xv...