--yes, because running it twice queues two backups.
Arguments
Flags
A name for the backup, such as
pre-upgrade. Use lowercase letters, numbers and hyphens only. If left out, the server picks a name.Examples
Confirmation
y continues. Anything else cancels with DECLINED (exit 2).
If there’s no terminal and you didn’t pass --yes, the command fails with CONFIRMATION_REQUIRED (exit 2) and sends no request.
Output
The command returns as soon as the backup is queued, not when it finishes:sabaoth backup list.
Backup statuses
Behavior
- The organization check happens on the server. Unlike
postgres delete, this command doesn’t look up the service first, so it sends a single request. A service in another organization is reported asCLUSTER_NOT_FOUND. - Restoring a backup is done in the dashboard. See Backups.
If the result is unknown
If the request was sent but no response came back, the backup may or may not have started. The CLI never retries, to avoid starting a second one. It fails withUNKNOWN_MUTATION_OUTCOME. Run sabaoth backup list <service-id> to check before trying again.