From: micah Date: Tue, 27 Dec 2005 17:37:54 +0000 (+0000) Subject: r220@um: micah | 2005-12-27 11:12:31 -0500 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=c3cc44d1b216ca01dffb35396d7f9c7ff12ea3f0;p=matthijs%2Fupstream%2Fbackupninja.git r220@um: micah | 2005-12-27 11:12:31 -0500 Add -h option to mysqlhotcopy method git-svn-id: http://code.autistici.org/svn/backupninja/trunk@281 758a04ac-41e6-0310-8a23-8373a73cc35d --- 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