Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created January 24, 2014 11:28
Show Gist options
  • Select an option

  • Save mrchrisadams/8595730 to your computer and use it in GitHub Desktop.

Select an option

Save mrchrisadams/8595730 to your computer and use it in GitHub Desktop.
mysqldump databasename | gzip -c > database.dump.$(date +'%Y-%m-%d-%H-%M').sql.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment