psm dhcs view-backup
List a specific backup for an Oracle Data Hub Cloud Service cluster.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm dhcs view-backup -s|--service-name cluster-name
-b|--backup-id backup-id
[-of|--output-format short|json|html]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Oracle Data Hub Cloud Service cluster. |
|
Specifies the unique id of the backup you want to display. |
|
(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 lists the details of specified backup of the cluster1
cluster.
$ psm dhcs view-backup --service-name cluster1 --backup-id 90ef1906-c4f5-4a5c-8b86-af6dd4c3799e
{
"backupId":"90ef1906-c4f5-4a5c-8b86-af6dd4c3799e",
"jobId":"7125999",
"backupStartDate":"2017-10-26T06:06:51.664+0000",
"backupCompleteDate":"2017-10-26T06:08:00.403+0000",
"expirationDate":"2017-11-25T06:06:51.664+0000",
"initiatedBy":"abc.xyz@example.com",
"full":true,
"local":false,
"localCopy":true,
"databaseIncluded":false,
"size":"0.3MB",
"sizeInBytes":362162,
"status":"Completed",
"storageContainer":"http://example.storage.oraclecloud.com/Storage-example/cass-container",
"href":"http://example.com:7777/paas/api/v1.1/instancemgmt/beta/services/DHCS/instances/cluster1/backups/90ef1906-c4f5-4a5c-8b86-af6dd4c3799e",
"jobHistory":[
{
"operation":"backup",
"jobId":"7125999",
"status":"Completed",
"startDate":"2017-10-26T06:06:51.664+0000",
"completeDate":"2017-10-26T06:08:00.403+0000",
"statusDetails":"successful"
}
],
"notes":"full backup before migration"
}