Metabase.db.mv.db file location

Is it possible to relocate the db files and use softlink etc. to point to the new location?

  • metabase.db.mv.db
  • metabase.db.trace.db

we have an app directory for metabase and would like to move db files to our data directory to keep the structure clean.

Hi @Rafal
I would recommend that you don’t use H2 as your backend, but you can use variable MB_DB_FILE to change the location:
https://metabase.com/docs/latest/operations-guide/start.html#h2-default

1 Like