Get Restore Operation Details
get
/api/v1.1/instances/{identityId}/{serviceId}/restoredbackups/{jobId}
Provides the details of a specific restore operation of a service instance.
Request
Path Parameters
- identityId
-
Type:
stringRequired:trueName of the identity domain for the Oracle Cloud Service account.- jobId
Type:stringRequired:trueJob ID of the restore operation.- serviceId
Type:stringRequired:trueID of the service instance.
Response
Supported Media Types
- application/json
200 Response
Ok
Body
Root Schema : RestoreBackupItem
Type:
object- backupDate
-
Type:
stringDate and time of the backup. - backupId
-
Type:
stringBackup ID. - configDataIncluded
-
Type:
booleanBoolean flag that specifies whether configuration data was restored (true). - jobId
-
Type:
stringJob ID for the restore operation. - notes
-
Type:
stringFree-form text that provides additional information about the backup. - otdIncluded
-
Type:
booleanBoolean flag that specifies whether the load balancer was restored (true). - recoveryCompleteDate
-
Type:
stringDate and time that the restoration operation completed. - recoveryStartDate
-
Type:
stringDate and time that the restoration operation started. - staticDataIncluded
-
Type:
booleanBoolean flag that specifies whether static binary files are included (true) in the restoration operation. - status
-
Type:
stringStatus of the restoration operation. Valid values include:- 'Completed'
- 'Failed'
- 'Restore In Progress'
- statusDetails
-
Type:
stringHistory of system messages. Each message is separated by an ellipses
Examples
The following example shows how to view the status of a restoration operation for an Oracle SOA Cloud Service instance by submitting a GET request on the REST resource using cURL. For more information, see Use cURL.
See also Restoring an Oracle SOA Cloud Service Instance from a Backup.
cURL Command
curl -i -X GET -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleInstance/restoredbackups/505
Note:: This example uses the URL prefix for the United States (
soacs). For information about the URL prefixes for other regions of the world, see
Send Requests.
Example Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Date: Thu, 05 Feb 2015 22:16:03 GMT Transfer-Encoding: chunked Content-Type: application/json
Example Response Body
The following shows an example of the response body in JSON format.
{
"backupId":"1389925926116",
"backupDate":"Wed Feb 4 18:32:06 GMT 2015",
"jobId":"505",
"recoveryStartDate":"Thu Feb 5 18:00:46 GMT 2015",
"recoveryCompleteDate":"Thu Feb 5 18:15:00 GMT 2015",
"status":"Completed",
"statusDetails":"Stopping WebLogic Server...Stopped WebLogic Server...Restoring the binary
and configuration data for WebLogic Server administration server on host exampleinstance-wls-1...Restored
the binary and configuration data for WebLogic Server administration server on host
exampleinstance-wls-1...Restoring Oracle Traffic Director on host exampleinstance-lb-1...Restored
Oracle Traffic Director on host exampleinstance-lb-1...Restoring the binary and configuration data for
WebLogic Server administration server on host ...Restored the binary and configuration data for
WebLogic Server administration server on host ...Starting WebLogic Server...Started WebLogic
Server...Unlocked the WebLogic Server domain configuration... "
"staticDataIncluded":false,
"configDataIncluded":true,
"otdIncluded":true,
"notes":"JDK Patching"
}