Managed Databases
Restore a managed database
/managed-databases/{md_uuid}/restoreCreate a new database from the backups of an existing one (or of one you deleted in the last 32 days), optionally to an exact moment. PostgreSQL and MySQL restore to the second; Valkey restores the last backup taken before that moment. The original is never modified. The new database is billed like any other.
Autorización
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
Cuerpo de la petición
Create a new database from the backups of an existing one. The original is never touched.
Name of the new database: lowercase letters, digits and hyphens.
2 ≤ length ≤ 60Rangopattern ^[a-z0-9][a-z0-9-]*[a-z0-9]$Moment to restore to (ISO 8601, UTC if no offset is given). PostgreSQL and MySQL restore to the exact second; Valkey restores the last backup taken at or before that moment. Omit it for the most recent data.
date-timeProject of the new database. Defaults to the one of the original.
Plan of the new database: same engine and location, with at least the original's disk. Defaults to the original's plan.
length ≤ 36Respuestas
Successful Response
application/json