X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fmysql;h=20905d56232010748dabff102602b25e273e3db0;hb=c3cc44d1b216ca01dffb35396d7f9c7ff12ea3f0;hp=408399d2e53d44b92bc249c054f232e93e494780;hpb=246783bbd358ea427f90ba45a6ba18329f354460;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/mysql b/handlers/mysql index 408399d..20905d5 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -180,7 +180,8 @@ then then if [ $usevserver ] then - execstr="$VSERVER $vsname exec $MYSQLHOTCOPY --quiet --allowold --regexp /.\*/./.\*/ $hotdir" + info "dbhost: $dbhost" + execstr="$VSERVER $vsname exec $MYSQLHOTCOPY -h $dbhost --quiet --allowold --regexp /.\*/./.\*/ $hotdir" else execstr="$MYSQLHOTCOPY --quiet --allowold --regexp /.\*/./.\*/ $hotdir" fi