View All Restoration Operations

get

/paas/api/v1.1/instancemgmt/{identityDomainId}/services/jaas/instances/{serviceId}/restoredbackups

Returns information for all restoration operations for an Oracle Java Cloud Service instance.

By default, only successful restoration operations are included. Set the ?includeFailed query parameter to true to include both successful and failed restoration operations.

Request

Path Parameters
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

OK. See Status Codes for information about other possible HTTP status codes.
Body ()
Root Schema : viewallrestorations-response
Type: object
The response body contains the details of the restoration operations.
Show Source
Nested Schema : restoreHistory
Type: array
Groups all completed restoration operations.
Show Source
Nested Schema : restoreInProgress
Type: array
Groups details of a restoration operation currently in progress, if any.
Show Source
Nested Schema : restoreHistory
Type: object
Show Source
Back to Top

Examples

The following example shows how to view all restoration operations for an Oracle Java Cloud Service instance by submitting a GET request on the REST resource using cURL.

Note: The command in this example uses the URL structure https://rest_server_url/resource-path, where rest_server_url is the REST server to contact for your identity domain (or Cloud Account). See Send Requests.

cURL Command

curl -i -X GET -u username:password -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/jaas/instances/ExampleInstance/restoredbackups

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Date: Tue, 08 Dec 2015 23:44:33 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following shows an example of the response body in JSON format. Your output will differ depending on your Oracle Java Cloud Service environment, service instance configuration, and backup configuration.

{
    "restoreHistory":[
    {
        "backupId":"1449332100032",
        "backupDate":"Sat Dec 05 16:15:00 GMT 2015",
        "jobId":"8226",
        "recoveryStartDate":"Sat Dec 05 23:39:02 GMT 2015",
        "recoveryCompleteDate":"Sat Dec 05 23:57:53 GMT 2015",
        "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...Disabled the load balancer...Submitted the restoration for remote execution...
          These managed servers were added after the backup was created: ['exampleinstance-wls-3']. The instance will be scaled in with force=true to remove these managed servers...Stopping WebLogic Server...
          Stopped WebLogic Server...Restoring the configuration data for WebLogic Server administration server on host exampleinstance-wls-1...
          Restored the 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 configuration data for WebLogic Server administration server on host exampleinstance-wls-2...
          Restored the configuration data for WebLogic Server administration server on host exampleinstance-wls-2...Starting WebLogic Server...
          Started WebLogic Server...Unlocked the WebLogic Server domain configuration...
          Completed the restoration...Enabled the load balancer...Validated the load balancer",
        "staticDataIncluded":false,
        "configDataIncluded":true,
        "otdIncluded":true,
        "databaseIncluded":false
    }],
    "restoreInProgress":
    {
        "backupId":"1449340039298",
        "backupDate":"Sat Dec 05 18:27:19 GMT 2015",
        "jobId":"8386",
        "recoveryStartDate":"Tue Dec 08 23:43:49 GMT 2015",
        "status":"In Progress",
        "staticDataIncluded":true,
        "restoreBinariesType":"reset",
        "configDataIncluded":true,
        "otdIncluded":true,
        "databaseIncluded":false,
        "notes":"Restore and reset binary files"
    }
}
Back to Top