Restore a database
Changed onReplaces the database's data, either with a named backup or with its state at a point in time. This is destructive: everything written after that point is discarded.
Asynchronous: the response is 202 with the restore pending and the database restoring. The database does not accept connections until the restore reports completed; its connection string is unchanged throughout, so nothing holding it needs updating.
Restores are in place. There is no way to restore into a second database, and a database's branches are never restored — they keep serving their own data, but resetting a branch from its parent is refused by the storage provider for up to 24 hours afterwards.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/databases/{databaseName}/restores
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Project ID
Database name (unique within project, lowercase letters, numbers, and underscores only)
Request body
Example request
{
"backup_name": "before_migration",
"restore_to": "2026-01-15T09:30:00Z"
}Response
Restore accepted and in progress
Changes
- ○
the endpoint scheme security
ProjectAccessTokenwas added to the API
- ○
- ▲
added the new path request parameter
databaseName - ▲
added the new path request parameter
id - ▲
the request's body type changed from no type to
object - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ○
added the new optional request property
- ○
added the new optional request property
- ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲