docker exec some-mysql sh -c ‘exec mysqldump –all-databases -uroot -p”$MYSQL_ROOT_PASSWORD”‘ > /some/path/on/your/host/all-databases.sql
docker mysqldump was last modified: February 10th, 2023 by
docker exec some-mysql sh -c ‘exec mysqldump –all-databases -uroot -p”$MYSQL_ROOT_PASSWORD”‘ > /some/path/on/your/host/all-databases.sql