Can 2 Metabases use shared data?

Hi Metabase users,

Assume I am running 2 metabases on docker (called M1 and M2).

Dashboards, questions, visualizations are already on M1.

Can M2 use those data from M1? And when there is change on M1, the data on M2 are changed too.

Can I do that?

They both need to share the same data. Ideally Postgres. MySQL if you must. Not H2.

If I move the data file of M1 to a safe place (outside directories of M1). How to config to make both M1 and M2 connect to those data to use those shared data?

1000015037

The data file? If you're referring to the H2 database that's used by default, then stop now!
Migrate to a proper database before you lose all your work. Preferably Postgres, through MySQL is supported too.

You can't have two servers sharing an H2 database. It's only there to get you started.