projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[matthijs/upstream/backupninja.git]
/
handlers
/
mysql
diff --git
a/handlers/mysql
b/handlers/mysql
index 13dd62f2643a9d3be9ffdcaf0e82df2555d8cdc0..d5c0370e733c9252c217e574cfd0c1a2af0fea89 100644
(file)
--- a/
handlers/mysql
+++ b/
handlers/mysql
@@
-28,7
+28,7
@@
fi
# If vservers are configured, decide if the handler should
# use them or if it should just operate on the host
# If vservers are configured, decide if the handler should
# use them or if it should just operate on the host
-if [ "$
VSERVERS
" = "yes" ]
+if [ "$
vservers
" = "yes" ]
then
if [ ! -z $vsname ]
then
then
if [ ! -z $vsname ]
then
@@
-96,15
+96,15
@@
if [ "$dbusername" != "" -a "$dbpassword" != "" ]; then
# auto generated backupninja mysql conf
[mysql]
user=$dbusername
# auto generated backupninja mysql conf
[mysql]
user=$dbusername
-password=
$dbpassword
+password=
"$dbpassword"
[mysqldump]
user=$dbusername
[mysqldump]
user=$dbusername
-password=
$dbpassword
+password=
"$dbpassword"
[mysqlhotcopy]
user=$dbusername
[mysqlhotcopy]
user=$dbusername
-password=
$dbpassword
+password=
"$dbpassword"
EOF
umask $oldmask
defaultsfile="--defaults-file=$mycnf"
EOF
umask $oldmask
defaultsfile="--defaults-file=$mycnf"