Bash scripts to backup all databases in a MySQL server with the option to exclu...
source link: https://gist.github.com/shakhmehedi/d9d966dba399451d1a32b8be1c183980
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Bash scripts to backup all databases in a MySQL server with the option to exclude some databases. · GitHub
Instantly share code, notes, and snippets.
Thanks! Great script!
nice work !
Great script, Works nice, except for 2 of my servers request the root password, how can i avoid that?
Another questiion, how can i do to put the date on the filenames in spanish?
@samuelmf The easiest way to do this is to use a client section of the ~/.my.cnf
file, and add the credentials inside that file.
[client]
user=root
password=somepassword
how can i do to put the date on the filenames in spanish?
SET lc_time_names = 'es_ES';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK