Created
November 20, 2017 14:10
-
-
Save crichardson9/05440297d87c945cc053c0df8a9f418a to your computer and use it in GitHub Desktop.
MySQL Database Backup
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 -u [user] -p [database_name] > [filename].sql | |
mysqldump --opt -Q -u [user] -p [data_name] | gzip > [filename].sql.gz | |
gunzip [filename].gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment