Skip to content

Instantly share code, notes, and snippets.

@devdatta
Created July 25, 2012 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdatta/3177250 to your computer and use it in GitHub Desktop.
Save devdatta/3177250 to your computer and use it in GitHub Desktop.
MySQL Backup with stored procedures + GZip
mysqldump -h localhost -u root -p --routines <database> | gzip -9 > <backupfile.sql.gz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment