Skip to content

feat: support {db} placeholder in EXTRA_BACKUP_OPTS for split-mode ba…#477

Open
terryzwt wants to merge 1 commit into
nfrastack:mainfrom
terryzwt:feature/dynamic-db-placeholder-extra-backup-opts
Open

feat: support {db} placeholder in EXTRA_BACKUP_OPTS for split-mode ba…#477
terryzwt wants to merge 1 commit into
nfrastack:mainfrom
terryzwt:feature/dynamic-db-placeholder-extra-backup-opts

Conversation

@terryzwt
Copy link
Copy Markdown

…ckups

Allow dynamic substitution of the current database name in EXTRA_BACKUP_OPTS using the {db} placeholder. When SPLIT_DB=true, {db} is replaced with the current database name before each backup command executes.

This enables patterns like --ignore-table={db}.logs to work across 100+ databases without hardcoding each database name.

…ckups

Allow dynamic substitution of the current database name in
EXTRA_BACKUP_OPTS using the {db} placeholder. When SPLIT_DB=true,
{db} is replaced with the current database name before each
backup command executes.

This enables patterns like --ignore-table={db}.logs to work
across 100+ databases without hardcoding each database name.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant