Answers for "docker backup existing mariadb"

0

docker backup existing mariadb

$ docker exec -i some-mysql sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql
Posted by: Guest on August-04-2021
0

docker backup existing mariadb

$ docker exec some-mysql sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /some/path/on/your/host/all-databases.sql
Posted by: Guest on August-04-2021

Code answers related to "docker backup existing mariadb"

Browse Popular Code Answers by Language