Hi guys, I am working on a project where I am using Metabase + Nodered + Postgres each one running on a different docker container plus compose file.
The Metabase docker-compose file is configured as following:
metabase:
image: metabase/metabase:latest
container_name: metabase-secrets
hostname: metabase-secrets
volumes:
- ./volumes/metabase-data:/dev/random:ro
ports:
- 3000:3000
environment:
MB_DB_TYPE: postgres
MB_DB_DBNAME: metabase
MB_DB_PORT: 5432
MB_DB_USER: postgres
MB_DB_PASS: 1234
MB_DB_HOST: postgres
mem_limit: 3g
restart: always
On the Postgres side I can confirm that the configuration worked (visualization through DBeaver):
So, what I would like to know is how to make a backup of the metadata (questions and dashboards). To do this, I though about:
- Backup only the metadata somehow, into a file that I could point to into the compose file (for easy restoration);
- Backup the entire container;
Tanks in advance.