Start a Backup Operation
POST
/paas/service/dbcs/api/v1.1/instances/{identityDomainId}/{serviceId}/backups
Starts an on-demand backup for a Database
Cloud Service instance.
Cloud Service instance.
Request
Supported Media Types
- application/json
Path Parameters
Header Parameters
Body (
Request Body
)
Type: object
Title: Request Body
Response
202 Response
Headers
Examples
The following example shows how to start a
backup operation by submitting a POST request on the REST endpoint using cURL.
backup operation by submitting a POST request on the REST endpoint using cURL.
This example uses a traditional cloud account,
so the {identityDomainId} path parameter and the X-ID-TENANT-NAMEheader
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.
so the {identityDomainId} path parameter and the X-ID-TENANT-NAMEheader
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.
Note that the required (but empty) request
body is provided in the cURLcommand’s –data option.
body is provided in the cURLcommand’s –data option.
cURL Command
$
curl –include –request POST
curl –include –request POST
–user
dbcsadmin:password
dbcsadmin:password
–header
“X-ID-TENANT-NAME:usexample”
“X-ID-TENANT-NAME:usexample”
–header
“Content-Type: application/json”
“Content-Type: application/json”
–data
‘{}’
‘{}’
https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/usexample/db12c-xp-si/backups
HTTP Status Code and
Response Headers
Response Headers
HTTP/1.1
202 Accepted
202 Accepted
Date:
date-and-time-stamp
date-and-time-stamp
Server:
Oracle-Application-Server-11g
Oracle-Application-Server-11g
Location:
https://dbaas.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample/status/backup/job/5744472
https://dbaas.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample/status/backup/job/5744472
Content-Length:
0
0
X-ORACLE-DMS-ECID:
id-string
id-string
X-ORACLE-DMS-ECID:
id-string
id-string
X-Frame-Options:
DENY
DENY
Service-URI:
https://dbaas.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample/db12c-xp-si
https://dbaas.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample/db12c-xp-si
Vary:
Accept-Encoding,User-Agent
Accept-Encoding,User-Agent
Retry-After:
60
60
Content-Language: en
Content-Type: application/json
Recent Posts