CreateBackup
POST {{baseUrl}}/backups
Creates a new backup in the specified database based on the request parameters you provide. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
Request Body
{"databaseId"=>"<string>", "displayName"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations (for example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
may be rejected). | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"availabilityDomain":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","databaseEdition":"STANDARD_EDITION","databaseId":"\u003cstring\u003e","databaseSizeInGBs":"\u003cdouble\u003e","displayName":"\u003cstring\u003e","id":"\u003cstring\u003e","kmsKeyId":"\u003cstring\u003e","kmsKeyVersionId":"\u003cstring\u003e","lifecycleDetails":"\u003cstring\u003e","lifecycleState":"FAILED","shape":"\u003cstring\u003e","timeEnded":"\u003cdateTime\u003e","timeStarted":"\u003cdateTime\u003e","type":"VIRTUAL_FULL","vaultId":"\u003cstring\u003e","version":"\u003cstring\u003e"}