Created
October 22, 2013 07:57
-
-
Save steppefox/7096762 to your computer and use it in GitHub Desktop.
Little snippet for the fast dump db with date in the name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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