Created
September 3, 2015 08:08
-
-
Save vihoangson/49bd986b9bcd7a7fe2a2 to your computer and use it in GitHub Desktop.
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
Mdate="$(date +"%d-%m-%Y | %H:%M:%S")" | |
mysqldump -u[username_mysql] -p[password_mysql] [db_name] > [/direct_folder_backup/]backup.$Mdate.[db_name].sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment