Modulify

Delete a database backup

delete_database_backup

Permanently deletes one database backup of a site, leaving the live database of the site untouched.

The archive is destroyed and cannot be recovered, and because a database backup is the only copy of those rows from that moment, that moment is lost entirely. Deleting it does not hand a manual backup slot back: that slot stays counted for a day.

A backup still being exported is refused until it finishes, with This backup is still being exported! It needs the Delete projects permission in the workspace, so a role without it is refused however many times the call is retried.

The tool tells the client to confirm the exact archive with you first, and never to delete backups to save space on its own initiative. See Delete a database backup.

Inputs

Input Type Required Description
projectId string Yes The site the backup belongs to.
backupId string Yes The backup to delete, from list_database_backups.