CompleteExternalBackupJob
POST {{baseUrl}}/externalBackupJobs/:backupId/actions/complete
Changes the status of the standalone backup resource to ACTIVE
after the backup is created from the on-premises database and placed in Oracle Cloud Infrastructure Object Storage.
Note: This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud for more information.
Request Body
{"cfBackupHandle"=>"<string>", "dataSize"=>"<long>", "redoSize"=>"<long>", "spfBackupHandle"=>"<string>", "sqlPatches"=>["<string>", "<string>"], "tdeWalletPath"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match | |
parameter to the value of the etag from a previous GET or POST response for that resource. The resource | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
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
{"backupId":"\u003cstring\u003e","provisioning":"\u003cboolean\u003e","swiftPath":"\u003cstring\u003e","bucketName":"\u003cstring\u003e","userName":"\u003cstring\u003e","tag":"\u003cstring\u003e","swiftPassword":"\u003cstring\u003e"}