Created
February 28, 2015 19:47
-
-
Save bq1990/7aa4c07a4d8327688da2 to your computer and use it in GitHub Desktop.
Mysql backup/restore
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
backup: # mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql | |
restore:# mysql -u root -p[root_password] [database_name] < dumpfilename.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment