/services/{uuid}/databases/{database_uuid}/importsImport a service database backup
Submits a backup restore operation for a service database using an uploaded file, an S3 object, or a server-side file. Select the source with source and provide the corresponding upload or storage details. The import runs asynchronously; poll the service database import status endpoint to check its progress.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Database backup restore options. Choose a source and provide the fields required for that source.
A 403 is returned when the token lacks the deploy ability; a 409 when another start, restart, or import is in progress for the database; and a 422 when the request fails validation. The uuid path parameter and database_uuid path parameter must identify the service and database. In the body, source must be upload, s3, or server: upload requires upload_id, s3 requires s3_storage_uuid and path, and server requires path.