git-svn-id: http://code.autistici.org/svn/backupninja/trunk@123
758a04ac-41e6-0310-8a23-
8373a73cc35d
added configfile option to mysql handler
the default is /etc/mysql/debian.cnf. with this,
sqldump doesn't need dbusername. (hotcopy still does).
-
+ fixed bug in mysql handler which caused some passwords to not work.
+ (.my.cnf files now have double quotes around password)
+
version 0.5 -- April 12 2005
rdiff handler works when remote sshd has a banner
rdiff handler supports local dest
# auto generated backupninja mysql conf
[mysql]
user=$dbusername
-password=$dbpassword
+password="$dbpassword"
[mysqldump]
user=$dbusername
-password=$dbpassword
+password="$dbpassword"
[mysqlhotcopy]
user=$dbusername
-password=$dbpassword
+password="$dbpassword"
EOF
umask $oldmask
defaultsfile="--defaults-file=$mycnf"