Created
October 27, 2012 01:08
-
-
Save leesmith/3962546 to your computer and use it in GitHub Desktop.
Mysqldump and gzip one-liner
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
mysqldump db_name -u root -p | gzip -c | cat > db_name.sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment