Database Backups

Delete a backup

Changed on

Deletes the backup and frees its storage. Scheduled backups can be deleted too. A backup that is already gone reports 404, so a name that never existed and a name that no longer does read the same. Refused with 409 while the database is being restored.

delete/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

Backup deleted

object required
status, string required
message, string required

Example response

{
  "status": "deleted",
  "message": "backup deleted"
}

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

    13 more changes in this revision