X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmysql;h=20905d56232010748dabff102602b25e273e3db0;hp=408399d2e53d44b92bc249c054f232e93e494780;hb=065c9aa959922aaad5d9453335cd3fc5c3495bcd;hpb=06edbbddc536c3c7e204e54ca7897d9614307fcd 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