Created
April 16, 2013 13:56
-
-
Save fedir/5396088 to your computer and use it in GitHub Desktop.
Import database from remote host using compression #mysql #dump #zip #ssh
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
ssh -l SSHLOGIN RE.MO.TE.IP "mysqldump DB -uMYSQLLOGIN -pMYSQLPWD | gzip -3 -c" > DB.sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment