Skip to content

Instantly share code, notes, and snippets.

@josefglatz
Created October 8, 2020 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josefglatz/5e902bda5317730b5511cc89b5c7eabb to your computer and use it in GitHub Desktop.
Save josefglatz/5e902bda5317730b5511cc89b5c7eabb to your computer and use it in GitHub Desktop.
Example of how to dump a database with a lowlevel approach requested by Alexander
docker-compose exec --user mysql mysql sh -c "mysqldump -udev -pdev typo3 2>/dev/null" > $(date +"%Y%m%d_%H%M%S").sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment