psm dbcs backup
Create an on-demand backup of an Oracle Database Classic Cloud Service instance.
Syntax
psm dbcs backup -s|--service-name instance-name [-of|--output-format json|html|short]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Database Classic Cloud Service instance you want to back up. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Examples
The following example creates an on-demand backup of the db12c-xp-si2
Database Classic Cloud
Service instance.
$ psm dbcs backup --service-name db12c-xp-si2
"Accepted"
Job ID : 5858479
Here is the information about job 5858479 upon successful completion of the operation:
$ psm dbcs operation-status --job-id 5858479
{
"activityLogId":3654162,
"serviceName":"db12c-xp-si2",
"serviceType":"dbaas",
"identityDomain":"usexample",
"serviceId":141969,
"jobId":5858479,
"startDate":"2016-07-27T19:02:36.517+0000",
"endDate":"2016-07-27T19:20:26.570+0000",
"status":"SUCCEED",
"operationId":141969,
"operationType":"BACKUP",
"summaryMessage":"BACKUP",
"authDomain":"usexample",
"authUser":"dbaasadmin",
"initiatedBy":"USER",
"messages":[
{
"activityDate":"2016-07-27T19:02:36.517+0000",
"message":"Activity Submitted"
},
{
"activityDate":"2016-07-27T19:02:36.555+0000",
"message":"Activity Started"
},
{
"activityDate":"2016-07-27T19:02:38.670+0000",
"message":"Backup-Status [BACKUP_IN_PROGRESS]"
},
{
"activityDate":"2016-07-27T19:20:26.523+0000",
"message":"Database Backup completed with [TAG20160727T190643]"
},
{
"activityDate":"2016-07-27T19:20:26.557+0000",
"message":"Backup-Status [BACKUP_COMPLETED]"
},
{
"activityDate":"2016-07-27T19:20:26.570+0000",
"message":"Activity Ended"
}
]
}