psm dbcs backup

Create an on-demand backup of an Oracle Database Cloud Service instance.


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


Parameter Description

-s|--service-name instance-name

Specifies the name of the Database Cloud Service instance you want to back up.

-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 creates an on-demand backup of the db12c-xp-si2 Database Cloud Service instance.

$ psm dbcs backup --service-name db12c-xp-si2
Job ID : 5858479

Here is the information about job 5858479 upon successful completion of the operation:

$ psm dbcs operation-status --job-id 5858479
            "message":"Activity Submitted"
            "message":"Activity Started"
            "message":"Backup-Status [BACKUP_IN_PROGRESS]"
            "message":"Database Backup completed with [TAG20160727T190643]"
            "message":"Backup-Status [BACKUP_COMPLETED]"
            "message":"Activity Ended"