This is the cli tool which clones reports from single source metabse account to multiple destination accounts.
npm install metabase-exporterExport/import collections from one Metabase instance to one or more target Metabase instances.
- Clone collections (with hierarchy) from source → multiple targets
- Node.js 18+
``bash`
npm i
Run the tool with source credentials and one or more target credentials.
`bash`
npx metabase-exporter --source_creds '{
"baseUrl": "https://source.metabase.example",
"userName": "admin@source",
"password": ""
}' --target_creds '[
{
"baseUrl": "https://target1.metabase.example",
"userName": "admin@target1",
"password": ""
},
{
"baseUrl": "https://target2.metabase.example",
"userName": "admin@target2",
"password": ""
}
]'
- --source_creds (required): JSON object with baseUrl, userName, password--target_creds
- (required): JSON array of objects, each with baseUrl, userName, password`