Restore from a Backup Point

post

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

Restores a service from a specified backup point.

Request

Supported Media Types
  • application/json
Path Parameters
identityId
Type: string
Required: true
Name of the identity domain for the Oracle Cloud Service account.
serviceId
Type: string
Required: true
ID of the service instance.
Body Parameter
The request body defines the details of the restoration request. Bold indicates a required value.
Root Schema : RestoreBackupPayload
The request body defines the details of the restoration request. Bold indicates a required value.

Response

Supported Media Types
  • application/json
202 Response
Accepted
Body
Root Schema : RestoreBackupResponse
Type: object

Examples

The following example shows how to restore an Oracle SOA Cloud Service instance by submitting a POST 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 POST -u joe@example.com:Welcome1! -d @restore.json -H "Content-Type:application/json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleInstance/restoredbackups
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 Request Body

The following shows an example of the request body in JSON format.

{
 "backupId":"1386382930068" 
} 

To retrieve the backup ID, see List Service Backups.

Example of Response Header

The following shows an example of the response header:

HTTP/1.1 202 Accepted
Date: Thu, 05 Feb 2015 22:08:03 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following shows an example of the response JSON document.

{
 "operationName":"restore-backup", 
 "job_id":"2001",
 "target_uri":"https:\/\/api-host/\/paas\/service\/soa\/api\/v1.1\/instances\/ExmapleIdentityDomain\/ExampleInstance\/restoredbackups\/2001"
}