psm dhcs view-backups
List all backups associated with 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-backups -s|--service-name cluster-name
[-of|--output-format short|json|html]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Oracle Data Hub Cloud Service cluster. |
|
(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 all backups performed on the cluster1
cluster.
$ psm dhcs view-backups --service-name cluster1
{
"backups":[
{
"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",
"notes":"full backup before migration"
}
]
}