List Service Backups

get

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

Returns a list of all the backups of a service instance.

Request

Query Parameters
fullBackupsOnly
Type: boolean
Lists full backups only if set to true.
includeAll
Type: boolean
Includes all backups if set to true.
includeCompleteNotes
Type: boolean
Includes all notes if set to true.

Response

Supported Media Types
  • application/json
200 Response
Accepted
Body
Root Schema : ViewAllBackupsResponse
Type: object
Nested Schema : backupInProgress
Type: array
Nested Schema : backups
Type: array
Nested Schema : BackupItem
Type: object

Examples

The following example shows how to view all backups 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/backups
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: Wed, 04 Feb 2015 21:24:33 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, including one completed backup and one in progress:

{
   "backups":[
      {"backupId":"1390442367140",
      "jobId":"202",
      "backupStartDate":"Wed Jul 16 17:59:27 PST 2014",
      "backupCompleteDate":"Wed Jul 16 18:00:59 PST 2014",
      "expirationDate":"Fri Aug 21 17:59:27 PST 2014",
      "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\/ExmapleService\/backups\/1390442367140"
       "notes":"Automated backup"},
      { . . . }
   ],
   "backupInProgress":{
      "backupId":"1406814125722",
      "jobId":"450",
      "backupStartDate":"Fri Jul 25 12:33:50 PST 20144",
      "expirationDate":"Sun Aug 31 12:33:50 PST 2014",
      "initiatedBy":"scheduled",
      "full":true,
      "localCopy":true,
      "size":"1650.3MB",
      "sizeInBytes":1730501782,
      "dbTag":"TAG20150923T192248"
      "status":"Backup In Progress",
      "href":"https:\/\/api-host\/paas\/service\/soa\/api\/instances\/ExampleIdentityDomain\/ExampleInstance\/backups\/1406814125722",
      "notes":"Automated backup"}
}