Skip to content

Instantly share code, notes, and snippets.

@SathyaBhat
Last active March 14, 2019 07:19
Show Gist options
  • Save SathyaBhat/4afed889973431503375750bcd34af12 to your computer and use it in GitHub Desktop.
Save SathyaBhat/4afed889973431503375750bcd34af12 to your computer and use it in GitHub Desktop.
MySQL Compressed Backup
mysqldump -u <user> -p -h <host> --databases <db name> | gzip > <file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment