Last active
March 21, 2017 07:35
-
-
Save shov/6787b4eb09d33e7c75ed4ef4f5ba3d22 to your computer and use it in GitHub Desktop.
mysqldump for date
This file contains 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
DATE=`date +%Y-%m-%d` && mysqldump -u user_name -p"" db_name > "./db_name-dump-${DATE}.sql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment