Created
August 19, 2015 12:56
-
-
Save FabienSalles/a283e7ebb9f743e9016f to your computer and use it in GitHub Desktop.
Use Mysql dump
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 root -p database > dump.sql | |
scp -P 22 root@host:dump.sql ./ | |
pv sqlfile.sql | mysql -uxxx -pxxxx dbname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment