How to change H2 db storage type to "file mode"?

Hello!
I try to save my data and info when k8s pod is restarted.
How can I change default h2 db behavior from “in-memory” to “file” mode and just store it in persistent volume claim?

It is highly recommend to use Postgres or MariaDB/MySQL, but you can set MB_DB_FILE to define a path to a volume outside the container.
https://metabase.com/docs/latest/operations-guide/start.html#configuring-the-metabase-application-database
See the Docker documentation for other examples:
https://metabase.com/docs/latest/operations-guide/running-metabase-on-docker.html