Created
April 7, 2020 17:57
-
-
Save JosielFaleiros/230ac9b715725d5c9ac0bb13ef759c6c 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
~/.my.cnf | |
[mysqldump] | |
user=mysqluser | |
password=secret | |
mysqldump -u dbname mysqluser > ~/"dbname_$(date +"%Y_%m_%d_%I_%M_%p").sql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment