The docker data

How do I change the data stored inside the docker to the data stored outside?
for example,

The internet is amazing, if you just search - found this with “docker copy file from container”
https://stackoverflow.com/questions/22049212/copying-files-from-docker-container-to-host

docker cp <containerId>:/app/metabase.db.mv.db <path-where-you-want-to-save-on-the-host>
1 Like

image
What information is stored in these two databases?What data is mainly included in '/metabase-data/metabase.db'?

metabase.db.mv.db is the H2 database with all the data.

metabase.db.trace.db?

metabase.db.trace.db is a log for debugging H2