sudo docker exec
-i <CONTAINER_ID> mysqldump
-u <DATABASE_USERNAME>
-p --databases <DATABASE_NAME> > yourbackup.sql
Backup a MySQL database from within a Docker container
Simple command to backup a MySQL database from within a Docker container
See also...
Docker/Docker compose cheatsheet
My most often forgotten docker commands
Accessing iOS & Android accessibility system font scale values in Unity
In a project recently I needed to find the system font size a user had set in their system preferences, on both Android and iOS devices.
SCSS Allman Formatter
Why I made a VSCode extension to format SCSS & CSS with the Allman style.