Last active
June 5, 2023 18:12
-
-
Save gvital3230/5f271c301cbed7ba3792607aff395b7c to your computer and use it in GitHub Desktop.
[docker mysqldump] #docker #mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker container exec -i $CONTAINER-NAME mysqldump -u $USER -p $DATABASE | gzip > $DATABASE-$(date +%F_%T).sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment