Skip to content

[metabase] introduce a pre-upgrade hook to backup metabase application database (postgres only)#164

Merged
pmint93 merged 2 commits intopmint93:masterfrom
it-at-m:metabase-backup-job
Jan 6, 2026
Merged

[metabase] introduce a pre-upgrade hook to backup metabase application database (postgres only)#164
pmint93 merged 2 commits intopmint93:masterfrom
it-at-m:metabase-backup-job

Conversation

@eidottermihi
Copy link
Contributor

Adds a (optional, default: false) pre-upgrade Hook that backups the metabase application database to a persistent volume using pg_dump so the "backup" gets easy:

grafik

The connection parameters for pg_dump are configurable by extra variables, e.g. it's quite common that running pg_dump requires a special user to be executed.

Currently, it requires a persistent volume where the backup is stored.

@pmint93 pmint93 merged commit 753b7cc into pmint93:master Jan 6, 2026
1 check passed
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.

2 participants