Get a restore
Changed onReturns the restore. Poll this after starting one; the database is connectable again once it reports completed.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Database name (unique within project, lowercase letters, numbers, and underscores only)
Database restore ID
Response
Successful response
A restore of a database, either from a named backup or to a point in time. Restores run in the background and take longer than a request, so the database is unavailable until this reports completed.
Whether the restore targets a named backup or an arbitrary point in time. Both replace the database's data in place.
Restore status. pending and running both mean the restore is still in flight and the database is not connectable; an attempt that fails with tries left goes back to pending. failed and exhausted both mean Volcano gave up: the database is left failed if its data may already have been replaced, and active if the restore never started — a backup that no longer exists at the provider ends the restore without touching the database. A restore cannot be cancelled once it starts.
The backup restored, kept even if that backup is later deleted. Absent for a point-in-time restore.
The point in time restored to. Absent for a backup restore.
Why the most recent attempt failed, when one has.
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API
- info
- breaking
added the new path request parameter
databaseName - breaking
added the new path request parameter
id
22 more changes in this revision
- breaking