psm dbcs delete-snapshot

Deletes a storage snapshot of an Oracle Database Cloud Service instance.


You cannot delete a storage snapshot that has linked clone service instances created from it. You must first delete the linked clone instances.


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

psm dbcs delete-snapshot
  -s|--service-name instance-name
  -n|--snapshot-name snapshot-name
  [-of|--output-format json|html|short]


Parameter Description

-s|--service-name instance-name

Specifies the name of the Database Cloud Service instance whose storage snapshot you want to delete.

-n|--snapshot-name snapshot-name

Specifies the name of the storage snapshot you want to delete.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.


The following example deletes the snapshot4patchtest storage snapshot of the db121-ep-si Database Cloud Service instance.

$ psm dbcs delete-snapshot --service-name db121-ep-si --snapshot-name snapshot4patchtest