View Job Status of a Restore Operation

get

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

Returns the status of the specified restoration operation for a MySQL Cloud Service instance.

Request

Path Parameters
Header Parameters

Response

Supported Media Types

200 Response

OK. See Status Codes, for information about other possible HTTP status codes.
Body ()
Root Schema : backup-restore-history
Type: object
Show Source

Examples

The following example shows how to view the status of a restoration operation for a MySQL 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 Oracle Public Cloud or Oracle Cloud Machine REST server to contact for your identity domain or tenant name. See Send Requests for the appropriate URL structure to use on Oracle Public Cloud or Oracle Cloud Machine.

cURL Command

curl -i -X GET \
  -u "username:password" \
  -H "X-ID-TENANT-NAME: ExampleIdentityDomain" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/MySQLCS/instances/MyTestInstance/restoredbackups/2223824

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Server: Oracle-Application-Server-11g
Content-Language: en
Access-Control-Allow-Headers: Content-Type, api_key, Authorization
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS, HEAD
X-ORACLE-DMS-ECID: 5P3E0pg0FFVR6503W0d01000uYy10UGHui
X-ORACLE-DMS-ECID: 5P3E0pg0FFVR6503W0d01000uYy10UGHui
Access-Control-Allow-Origin: *
X-Frame-Options: DENY
Content-Type: application/json
Vary: user-agent
Date: Thu, 15 Dec 2016 01:44:45 GMT
Content-Length: 393
Connection: keep-alive

Example of Response Body

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

{
    "backupId": "104148c3-2140-484b-8012-efc1c4907c74",
    "backupDate": "2016-12-15T00:51:44.924+0000",
    "jobId": "2223824",
    "recoveryStartDate": "2016-12-15T01:43:46.119+0000",
    "status": "In Progress",
    "statusDetails": "Submitted the restoration precheck for remote execution...Restore health check passed....Submitted the restoration for remote execution",
    "notes": "Restoring backup as discussed on KB-14412"
}