View All Recovery Operations
/paas/service/dbcs/api/v1.1/instances/{identityDomainId}/{serviceId}/backups/recovery/history
Request
-
identityDomainId: string
Identity domain ID for the Database Classic Cloud Service account:
For a Cloud account with Identity Cloud Service: the identity service ID, which has the form
idcs-letters-and-numbers
. You can find this ID in the Identity Service Id field on the Overview tab of the Service Details page for Database Classic Cloud Service in My Services.For a traditional cloud account: the name of the identity domain.
-
serviceId: string
Name of the Database Classic Cloud Service instance.
-
Authorization: string
Base64 encoding of the user name and password of the user making the request. For more information, see Security, Authentication and Authorization.
-
X-ID-TENANT-NAME: string
Identity domain ID for the Database Classic Cloud Service account:
For a Cloud account with Identity Cloud Service: the identity service ID, which has the form
idcs-letters-and-numbers
. You can find this ID in the Identity Service Id field on the Overview tab of the Service Details page for Database Classic Cloud Service in My Services.For a traditional cloud account: the name of the identity domain.
Response
- application/json
200 Response
object
Response Body
-
recoveryList(optional):
array recoveryList Array
Title:
recoveryList Array
Array of JSON object elements, with one element for each recovery operation.
array
recoveryList Array
-
Array of:
object recoveryList Array Item
Title:
recoveryList Array Item
object
recoveryList Array Item
-
dbTag(optional):
string
Database Tag used if the recovery was performed using a tag.
-
latest(optional):
string
True if the recovery was performed to the latest available backup.
-
recoveryCompleteDate(optional):
string
The date-and-time stamp when the recovery operation completed. Applies to completed recovery operations only.
-
recoveryStartDate(optional):
string
The date-and-time stamp when the recovery operation started. Applies to in-progress and failed recovery operations only.
-
scn(optional):
string
SCN (System Change Number) used if the recovery was performed using an SCN.
-
status(optional):
string
Status of the recovery operation; one of
IN PROGRESS
,FAILED
, orCOMPLETED
. -
timestamp(optional):
string
Timestamp used if the recovery was performed using a timestamp.
Examples
The following example shows how to view a list of all recovery operations performed on a Database Classic Cloud Service instance by submitting a GET request on the REST endpoint using cURL.
This example uses a traditional cloud account, so the {identityDomainId}
path parameter and the X-ID-TENANT-NAME
header parameter are set to the account's domain name, which is usexample
. The service instance is db12c-xp-si
and the Oracle Cloud user name of the user making the call is dbcsadmin
.
cURL Command
$ curl --include --request GET \
--user dbcsadmin:password \
--header "X-ID-TENANT-NAME:usexample" \
https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/usexample/db12c-xp-si/backups/recovery/history
HTTP Status Code and Response Headers
HTTP/1.1 200 OK Date: date-and-time-stamp Server: Oracle-Application-Server-11g Content-Length: 167 X-ORACLE-DMS-ECID: id-string X-ORACLE-DMS-ECID: id-string X-Frame-Options: DENY Vary: Accept-Encoding,User-Agent Content-Language: en Content-Type: application/json
Response Body
{ "recoveryList":[ { "recoveryStartDate":"29-Jun-2016 01:58:16 UTC", "status":"COMPLETED", "recoveryCompleteDate":"29-Jun-2016 02:05:29 UTC", "dbTag":"TAG20160626T022724" } ] }