Back up a database
Changed onCaptures the database as it is now. The backup is available immediately; its size_bytes appears once the storage provider has costed it.
Backups are rate-limited to one per minute per database, and capped by the owner's plan.
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)
Request body
Backup name, unique within the database. Names beginning with volcano- are reserved for the platform's own snapshots.
Example request
{
"name": "before_migration"
}Response
Backup created
A point-in-time copy of a database, kept by the storage provider and restorable in place.
Backups cover the database itself, not its branches. Restoring one replaces the database's data and keeps its connection string.
Backup name, unique within the database. Backups you create are named by you; scheduled backups are named by the storage provider.
Whether the backup was requested explicitly or produced by the backup schedule. Only manual backups count against the plan's backup allowance.
Storage the backup occupies. Absent until the provider has costed it, which takes a few minutes after the backup is taken; absent is not the same as empty.
When the backup is deleted automatically, from the plan's retention. Absent means it is kept until deleted explicitly.
The point in time the backup captures.
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
23 more changes in this revision
- breaking