psm dhcs view-restore
List the details of a specific restore operation 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-restore -s|--service-name cluster-name
-j|--job-id id-of-the-restore-operation
[-of|--output-format short|json|html]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Oracle Data Hub Cloud Service cluster. |
|
Returns the details of the specified restore job. |
|
(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 a specific restore applied to the cluster1
cluster.
$ psm dhcs view-restore --service-name cluster1 --job-id 7123525
{
"backupId":"90ef1906-c4f5-4a5c-8b86-af6dd4c3799e",
"backupDate":"2017-10-26T06:06:51.664+0000",
"jobId":"7123525",
"recoveryStartDate":"2017-10-26T06:24:52.126+0000",
"recoveryCompleteDate":"2017-10-26T06:31:11.861+0000",
"status":"Completed",
"statusDetails":"Submitted the restoration precheck for remote execution...restore precheck operation completed successfully...Submitted the restoration for remote execution...successful...Completed the restoration"
}