Skip to content

Instantly share code, notes, and snippets.

Created Apr 16, 2013
What would you like to do?
Import database from remote host using compression #mysql #dump #zip #ssh
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