Skip to content

Instantly share code, notes, and snippets.

@steppefox
Created October 22, 2013 07:57
Show Gist options
  • Save steppefox/7096762 to your computer and use it in GitHub Desktop.
Save steppefox/7096762 to your computer and use it in GitHub Desktop.
Little snippet for the fast dump db with date in the name
mysqldump -uroot -p --add-drop-database databasename > dump_$( date +%Y-%m-%d-%H-%M ).sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment