Skip to content

Instantly share code, notes, and snippets.

@fedir
Created Apr 16, 2013
Embed
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