Skip to content

Instantly share code, notes, and snippets.

@artembeloglazov
Created February 16, 2013 18:49
Show Gist options
  • Save artembeloglazov/4968181 to your computer and use it in GitHub Desktop.
Save artembeloglazov/4968181 to your computer and use it in GitHub Desktop.
mysqldump MYSQL_DUMP_OPTIONS | gzip > outputfile_`date +%d_%m_%Y`.sql.gz
mysqldump MYSQL_DUMP_OPTIONS | gzip > outputfile_`date +%d_%m_%Y`.sql.gz
gunzip < outputfile.sql.gz | mysql < mysql options>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment