psm jcs view-restore
Use this command to list a specified restore operation for an Oracle Java Cloud Service instance.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm jcs view-restore -s|--service-name serviceName
-j|--job-id jobId
[-of|-–output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
-s|--service-name serviceName |
Name of the Oracle Java Cloud Service instance. |
-j|--job-id jobId |
Job ID of the restore operation. To retrieve the job ID, use view-restores command.
|
-of|-–output-format json|html|short |
(Optional) Output format of the command’s response:
Accepted values: The default output format is the one you specified when using the |
Example
$ psm jcs view-restore -s Example1Instance -j 34276 -of json
{
"backupDate":"Thu Apr 28 18:22:38 GMT 2016",
"backupId":"1461867758288",
"configDataIncluded":true,
"databaseIncluded":false,
"jobId":"34276",
"otdIncluded":false,
"recoveryCompleteDate":"Thu Apr 28 19:51:02 GMT 2016",
"recoveryStartDate":"Thu Apr 28 19:45:41 GMT 2016",
"staticDataIncluded":false,
"status":"Completed",
"statusDetails":"The backup archive already exists in the block storage and does not need to be downloaded from the Oracle Storage Cloud Service container..
.Submitted the restoration precheck for remote execution...Restoration precheck passed...Submitted the restoration for remote execution...The instance has been
scaled in to remove the following managed servers: ['edsexample1instance-wls-2']. You must manually remove these managed servers from the cluster...Stopping Web
Logic Server...Stopped WebLogic Server...Restoring the configuration data for WebLogic Server administration server on host edsexample1instance-wls-1...Restored
the configuration data for WebLogic Server administration server on host edsexample1instance-wls-1...Starting WebLogic Server...Started WebLogic Server...Unloc
ked the WebLogic Server domain configuration...Completed the restoration"
}