Get a Service Backup

get

/api/v1.1/instances/{identityId}/{serviceId}/backups/{backupId}

Retrieves an existing backup of a service instance.

Request

Path Parameters
backupId
Type: string
Required: true
ID of the backup to be retrieved.
Query Parameters
includeLinkedDetails
Type: boolean
Includes linked details if set to true.

Response

Supported Media Types
  • application/json
200 Response
Accepted
Body
Root Schema : ViewTheBackupResponse.
Type: object
Title: ViewTheBackupResponse.
The response body contains information about the backup
Nested Schema : JobHistory schema.
Type: array
Title: JobHistory schema.
Groups job history details.
Nested Schema : 1 schema.
Type: object
Title: 1 schema.
Job ID for the backup operation.

Examples

The following example shows how to view detailed information for a backup 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 Initiate an On-Demand Backup of an Oracle SOA Cloud Service Instance.

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/backups/1390442367140
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 of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Date: Thu, 04 Feb 2015 16:23:56 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "backupId":"1418313410612",
    "jobId":"18758",
    "backupStartDate":"Wed Feb 04 15:56:50 GMT 2015",
    "backupCompleteDate":"Wed Feb 04 16:04:10 GMT 2015",
    "expirationDate":null,
    "initiatedBy":"scheduled",
    "full":true,
    "local":true,
    "localCopy":true,
    "size":"1650.3MB",
    "sizeInBytes":1730501782,
    "dbTag":"TAG20150923T192248",
    "status":"Completed",
    "href":"https:\/\/api-host\/paas\/service\/soa\/api\/instances\/ExampleIdentityDomain\/ExampleInstance\/backups\/1418313410612",
    "jobHistory":[
    {
        "operation":"upload",
        "jobId":"18767",
        "status":"In Progress",
        "startDate":"Wed Feb 04 16:19:12 GMT 2014"
    },
    {
        "operation":"backup",
        "jobId":"18758",
        "status":"Completed",
        "startDate":"Wed Feb 04 15:56:50 GMT 2015",
        "completeDate":"Wed Feb 04 16:02:10 GMT 2015",
        "statusDetails":"Backup health check passed...
                         Locked the WebLogic Server domain configuration...
                         Started the backup of binary data for WebLogic Server administration server on host exampleinstance-1...
                         Completed the backup of binary data for WebLogic Server administration server on host exampleinstance-1...
                         Started the backup of configuration data for WebLogic Server managed servers on these hosts: exampleinstance-2 exampleinstance-1 ...
                         Completed the backup of configuration data for WebLogic Server managed servers on these hosts: exampleinstance-2 exampleinstance-1...
                         Started the backup of Oracle Traffic Director on host exampleinstance-lb-1... 
                         Completed the backup of Oracle TrafficDirector on host exampleinstance-lb-1...
                         Unlocked the WebLogic Server domain configuration..."
    }
    ],
    "notes":"Automated backup"
}