psm analytics delete-backup

Use this command to delete a backup of a service created with Oracle Analytics Cloud - Classic.


In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm analytics delete-backup -s|--service-name serviceName 
   [-b|--backup-id backupId] 
   [-l|--backup-id-list backupId_1 {backupId_2  ...}] 
   [-of|--output-format json|html|short]


All parameters are required unless otherwise noted.

Parameter Description
-s|--service-name Name of the service.
-b|--backup-id (Optional) ID of the backup that you want to delete. To retrieve the backup ID, use the analytics view-backups command.
-l|--backup-id-list (Optional) List of backup IDs that you want to delete. To retrieve the backup IDs, see analytics view-backups. If the list contains the ID for a full backup, all of its related (non-deleted) incremental backups must be included in the list. Use the includeLinkedDetails argument to retrieve related backups for a backup as described in analytics view-backups command.
-of|--output-format (Optional) Desired output format.

Accepted values: json, html, short


$ psm analytics delete-backup -s Example1Service -b 1461867758288
Job ID : 34325

Note that this command returned a job ID. To see the status of your delete-backup operation, use this ID with the analytics operation-status command:

$ psm analytics operation-status -j 34325

When you see the message:


the backup was successfully deleted.