Skip to content

Easily migrate Metabase data between different instances/environments in a version-control friendly way

Notifications You must be signed in to change notification settings

Youmoo/metabase-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metabase-migrate

A tool to split and combine Metabase's pg_dump'ed sql file to make Metabase version control friendly and migrate between Metabase instances/environments easily.

Usage

# Split the pg_dump'ed sql file into multiple small files, so that we can easily version control and diff them
npx @youmoo/metabase-migrate segment --file=path/to/dumpped-sql-file --output=path/to/output

# Combine the split files into a single sql file, so that we can import it into a database for use with Metabase
npx @youmoo/metabase-migrate synthesize --databases=path/to/databases.json --segments=path/to/segments --output=path/to/output

About

Easily migrate Metabase data between different instances/environments in a version-control friendly way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published