The docker data


#1

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


#2

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>

#3

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


#4

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


#5

metabase.db.trace.db?


#6

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