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...
Creating an optimised GitLab pipline for eslint tests
Steps on how I created an optimised GitLab pipline for running eslint tests.
Creating an NPM package with TypeScript
I took to publishing a simple scroll animation library with TypeScript, here were my steps.
Test Accessibility like you resize your browser
Resizing our browser window to try and spot cosmetic bugs in our apps is almost second nature, but why aren't we doing the same for Accessibility?