projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mysql: Pass -h $dbhost to mysqlhotcopy consistently.
[matthijs/upstream/backupninja-vserver.git]
/
handlers
/
mysql.in
diff --git
a/handlers/mysql.in
b/handlers/mysql.in
index 3a908f68ef669b62e6c0cb3d63eeb230a5b86199..39c1fb9c2729819b5d80f86873d910f0f808917c 100644
(file)
--- a/
handlers/mysql.in
+++ b/
handlers/mysql.in
@@
-182,7
+182,7
@@
then
info "dbhost: $dbhost"
execstr="$VSERVER $vsname exec $MYSQLHOTCOPY -h $dbhost --quiet --allowold --regexp /.\*/./.\*/ $hotdir"
else
info "dbhost: $dbhost"
execstr="$VSERVER $vsname exec $MYSQLHOTCOPY -h $dbhost --quiet --allowold --regexp /.\*/./.\*/ $hotdir"
else
- execstr="$MYSQLHOTCOPY --quiet --allowold --regexp /.\*/./.\*/ $hotdir"
+ execstr="$MYSQLHOTCOPY -
h $dbhost -
-quiet --allowold --regexp /.\*/./.\*/ $hotdir"
fi
debug "su $user -c \"$execstr\""
if [ ! $test ]
fi
debug "su $user -c \"$execstr\""
if [ ! $test ]
@@
-203,9
+203,9
@@
then
do
if [ $usevserver = yes ]
then
do
if [ $usevserver = yes ]
then
- execstr="$VSERVER $vsname exec $MYSQLHOTCOPY --allowold $db $hotdir"
+ execstr="$VSERVER $vsname exec $MYSQLHOTCOPY -
h $dbhost -
-allowold $db $hotdir"
else
else
- execstr="$MYSQLHOTCOPY --allowold $db $hotdir"
+ execstr="$MYSQLHOTCOPY -
h $dbhost -
-allowold $db $hotdir"
fi
debug 'su $user -c \"$execstr\"'
if [ ! $test ]
fi
debug 'su $user -c \"$execstr\"'
if [ ! $test ]