Could you give me some help to recover my password?
I’m using metabase locally using Docker and I’d like to know what is the best way to retrieve the password.
I’ve just searched for my answer here but didn’t find the on the same context as mine.
I’m guessing you’re using H2 as the application database.
Copy the database out with
docker cp metabase:/metabase.db/metabase.db.mv.db ~/
Then the file is in your computers home directory, then follow:
When you have access to the system, then migrate away from H2:
And then if you prefer, then you can setup Docker again and use that.
- Get the container name or id using command and copy it:
- Go into the shell of the container
docker exec -it <container_name> sh
- List down the environment variables
env | grep MB_DB_PASS