Database Backups

Returns one backup of the database.

get/projects/{id}/databases/{databaseName}/backups/{backupName}

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

databaseName, string required

Database name (unique within project, lowercase letters, numbers, and underscores only)

backupName, string required

Backup name, unique within the database, exactly as returned by the list endpoint.

Deliberately looser than the names you can create: a backup made by a schedule is named for you, so reading or deleting one accepts any name a backup can have.

Response

Successful response

DatabaseBackup required

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.

name, string required

Backup name, unique within the database. Backups you create are named by you; scheduled backups are named by the storage provider.

source, 'manual' | 'scheduled' required

Whether the backup was requested explicitly or produced by the backup schedule. Only manual backups count against the plan's backup allowance.

size_bytes, integer

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.

expires_at, string date-time

When the backup is deleted automatically, from the plan's retention. Absent means it is kept until deleted explicitly.

created_at, string date-time required

The point in time the backup captures.

Changes

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • breaking

      added the new path request parameter backupName

    • breaking

      added the new path request parameter databaseName

    19 more changes in this revision