Created
November 14, 2020 10:03
-
-
Save fighterleslie/8c4de3683f5ec5c9bdd232ce7222a1d6 to your computer and use it in GitHub Desktop.
mysqldump example
This file contains 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
# only dump data, no table structure | |
echo "Begin" | |
mysqldump --skip-opt --no-create-db --no-create-info --compact --quick --extended-insert --insert-ignore -h xx -u xx --password=xx database_name table_name > /mnt/dump.sql | |
echo "Done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment