How to migrate the H2 DB from a docker to a Mariadb DB?

Hello, I am running a Camunda RUN in a docker container located in an Aws EC2 ubuntu, the Database that is currently being used is the one that has an H2 DB by default, but I want to migrate this DB to a mariadb DB in RDS, ¿ How can I change the DB without losing the data?

It should be mentioned that I am doing this remotely from a computer.

Thank you very much in advance.

Hi @jorgeCz,

you have to migrate the data from H2 to MySQL. I did a quick google search about “migrate data from h2 to mysql” and found a lot of answers there.

Then reconfigure the engine to use the new JDBC url.

Hope this helps, Ingo

1 Like