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

KeyDatatypeRequiredDescription
opc-retry-tokenstringA 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-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;availabilityDomain&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;databaseEdition&quot;:&quot;STANDARD_EDITION&quot;,&quot;databaseId&quot;:&quot;\u003cstring\u003e&quot;,&quot;databaseSizeInGBs&quot;:&quot;\u003cdouble\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;kmsKeyId&quot;:&quot;\u003cstring\u003e&quot;,&quot;kmsKeyVersionId&quot;:&quot;\u003cstring\u003e&quot;,&quot;lifecycleDetails&quot;:&quot;\u003cstring\u003e&quot;,&quot;lifecycleState&quot;:&quot;FAILED&quot;,&quot;shape&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeEnded&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeStarted&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;type&quot;:&quot;VIRTUAL_FULL&quot;,&quot;vaultId&quot;:&quot;\u003cstring\u003e&quot;,&quot;version&quot;:&quot;\u003cstring\u003e&quot;}