Created
November 6, 2014 10:49
-
-
Save ChriRas/2bf699e03145f2238907 to your computer and use it in GitHub Desktop.
Mysql Backup and 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
To backup: | |
mysqldump -u user -p DATABASE > backup.sql | |
To import: | |
mysql -u user -p DATABASE < backup.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment