From 2e942f04a48c6763d272aae6936350c7f00a2826 Mon Sep 17 00:00:00 2001 From: Alexander Renz Date: Mon, 5 Jan 2026 12:35:33 +0100 Subject: [PATCH] docs: remove undocumented --notify flag from README The --notify CLI flag was documented but not implemented. Notifications are configured via environment variables only. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 44a1947..82ea99f 100644 --- a/README.md +++ b/README.md @@ -287,7 +287,6 @@ dbbackup backup single mydb --dry-run | `--cloud` | Cloud storage URI | - | | `--encrypt` | Enable encryption | false | | `--dry-run, -n` | Run preflight checks only | false | -| `--notify` | Enable notifications | false | | `--debug` | Enable debug logging | false | ## Encryption @@ -438,7 +437,7 @@ dbbackup backup cluster -n # Short flag ## Notifications -Get alerted on backup events via email or webhooks. +Get alerted on backup events via email or webhooks. Configure via environment variables. ### SMTP Email @@ -451,8 +450,8 @@ export NOTIFY_SMTP_PASSWORD="secret" export NOTIFY_SMTP_FROM="dbbackup@example.com" export NOTIFY_SMTP_TO="admin@example.com,dba@example.com" -# Enable notifications -dbbackup backup single mydb --notify +# Run backup (notifications triggered when SMTP is configured) +dbbackup backup single mydb ``` ### Webhooks @@ -465,7 +464,8 @@ export NOTIFY_WEBHOOK_SECRET="signing-secret" # Optional HMAC signing # Slack webhook export NOTIFY_WEBHOOK_URL="https://hooks.slack.com/services/T00/B00/XXX" -dbbackup backup single mydb --notify +# Run backup (notifications triggered when webhook is configured) +dbbackup backup single mydb ``` **Webhook payload:**