Hey @metabase team, running MB in a docker container using h2 database for conf. How can I upgrade and still use my data??
make sure you backup the application db file! Also, make sure the container is writing that h2 file somewhere persistent
-
-
So followed the directions and used -e to and the env variables to point to the H2 file when running the contain. missing somthng?
-
just make sure that h2 file is somewhere safe, and back it up before killing old container and restarting new image
-
How does the new image find the old h2 file?
-
it should use the same persistent directory
-
when we do the run on the new image we get a name conflict.
-
yup. docker assigns a name to a given container. you should rename or nuke the old one. btw, this is more of a forum matter
-
Fair enough! I'll move there :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.