Hi, we have developed some charts and dashboards on a local instance of metabase and would like them to appear on our production instances. The data is the same structure between the two and we thought we could use the get/post dashboards and cards api methods. However the ids are not the same. We can manually change the db id issues but is there a way for us to create charts via api that take in field names instead of ids? This would be for the fields in the dataset_query portion of the charts.
Hi @natalie
The Serialization functionality in the Enterprise Edition is intended to copy data between staging and production environments:
https://www.metabase.com/docs/latest/enterprise-guide/serialization.html
You would have to script something, which translated the IDs between the two instances into field names and vice versa.
Hey everyone,
I’ve started building an app to migrate dashboards and all their associated components between different open-source projects. So far, I’ve managed to migrate complex cards/questions, including their dependencies, while preserving their formatting. It’s been a challenging but rewarding effort—I spent 14 hours yesterday getting this part to work!
The next big milestone is handling dashboard migrations.
If you’re interested in joining forces to develop this app or have ideas on how to make it even better, let’s connect! I’d love to hear your feedback or collaborate with like-minded folks.
Cheers!
Hey, I would love to contribute or test it. Did you share this in a repo?