bhatti volume backup-delete
Delete a volume backup.
Synopsis
Section titled “Synopsis”bhatti volume backup-delete <volume-name> <backup-id> [-y]
Description
Section titled “Description”Removes the backup record from the server and deletes the corresponding object in S3. Cannot be undone.
By default, prompts for confirmation. In a non-interactive shell without -y, the command refuses and exits 1.
Examples
Section titled “Examples”bhatti volume backup-delete workspace bk_a1b2c3d4Delete backup bk_a1b2c3d4? [y/N]: ydeleted# Non-interactivebhatti volume backup-delete workspace bk_a1b2c3d4 -y# Trim to last 7 backupsbhatti volume backup-list workspace --json \ | jq -r 'sort_by(.created_at) | reverse | .[7:][] | .id' \ | xargs -I{} bhatti volume backup-delete workspace {} -yOptions
Section titled “Options”| Flag | Default | Description |
|---|---|---|
-y, --yes | false | Skip confirmation. |
See Global flags for --url, --token, --json, --timing, --data-dir.