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:
string
Required:true
Name of the identity domain for the Oracle Cloud Service account.- jobId
Type:string
Required:true
Job ID of the restore operation.- serviceId
Type:string
Required:true
ID of the service instance.
Response
Supported Media Types
- application/json
200 Response
Ok
Body
Root Schema : RestoreBackupItem
Type:
object
- backupDate
-
Type:
string
Date and time of the backup. - backupId
-
Type:
string
Backup ID. - configDataIncluded
-
Type:
boolean
Boolean flag that specifies whether configuration data was restored (true). - jobId
-
Type:
string
Job ID for the restore operation. - notes
-
Type:
string
Free-form text that provides additional information about the backup. - otdIncluded
-
Type:
boolean
Boolean flag that specifies whether the load balancer was restored (true). - recoveryCompleteDate
-
Type:
string
Date and time that the restoration operation completed. - recoveryStartDate
-
Type:
string
Date and time that the restoration operation started. - staticDataIncluded
-
Type:
boolean
Boolean flag that specifies whether static binary files are included (true) in the restoration operation. - status
-
Type:
string
Status of the restoration operation. Valid values include:- 'Completed'
- 'Failed'
- 'Restore In Progress'
- statusDetails
-
Type:
string
History 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" }