Skip to content

Instantly share code, notes, and snippets.

@neo0910
Created December 11, 2019 18:22
Show Gist options
  • Save neo0910/e4b99dae41e6746d32bb19548550b838 to your computer and use it in GitHub Desktop.
Save neo0910/e4b99dae41e6746d32bb19548550b838 to your computer and use it in GitHub Desktop.
docker exec -i your_container mysqldump -uyour_user -pyour_password --databases database_name --skip-comments > /path/to/my/dump.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment