beauraines / server_backup

Scripts to backup ubuntu servers which include subversion repositories, MySQL databases, websites and minecraft.
2 stars 0 forks source link

Switch from passwords to options file for MySQL backups #14

Open beauraines opened 6 years ago

beauraines commented 6 years ago

The backup process throws the following warnings

mysqldump: [Warning] Using a password on the command line interface can be insecure.

because the user/pass is passed on the commandline. A more secure method is to use the MySQL options file with --defaults-file