/databases/{uuid}/importsImport a database backup
Submits a backup restore operation for the specified database. Choose upload, s3, or server as the import source and provide the fields required for that source. The import is queued asynchronously; use the database import status endpoint to monitor its progress.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Backup restore options. Select a source and provide its required fields: upload requires upload_id, s3 requires s3_storage_uuid and path, and server requires path.
A 403 is returned when the token does not have the deploy ability. A 409 is returned when a start, restart, or import is already in progress for the database. A 422 is returned when the request fails validation; the uuid path parameter must identify the database, and source must be upload, s3, or server with the corresponding required fields: upload requires upload_id in UUID format, s3 requires s3_storage_uuid and path, and server requires path.