Metabase backup and restore
Recover Metabase questions and dashboards by restoring its application database, not its analytics warehouse.
Last updated
On this page (5)
Metabase ยท Backup and restore
Before you start
- Metabase release, application database engine and configuration, and encryption secret if configured.
- Isolated instance and test warehouse access.
Procedure
- Identify the application database that holds questions, collections and settings. Back it up using the method for its engine; follow the shutdown and file-copy instructions if using embedded H2.
- Preserve the relevant environment configuration and any configured encryption key separately. Back up analytics source data under its own policy.
- Start the matching Metabase build against a restored copy of the application database, with subscriptions blocked and data-source access restricted to test systems.
Verify the result
- Open a known dashboard and question, verify collection permissions with a representative account, and run a test query.
- Check that an encrypted data-source connection can be used without resetting its stored settings.
