mysqldump with gzip and remote host

August 01, 2012

mysqldump -u user -p --host hostnameorip database | gzip > file.sql.gz

About me

Hello! I'm David Heward, how are you going? I'm a Senior Devops/Build Engineer, specialising in AWS & Cloud Automation. Based in London. Strong 10+ year background in Software development. Have a read of my blog. Have a look at some of my working projects. Contact me at @davehewy or on Linkedin.