aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-12-27 17:37:54 +0000
committerMicah Anderson <micah@riseup.net>2005-12-27 17:37:54 +0000
commit065c9aa959922aaad5d9453335cd3fc5c3495bcd (patch)
treea46150966841d9f5a5f39aa7f2f30ee5aaa57442
parent06edbbddc536c3c7e204e54ca7897d9614307fcd (diff)
downloadbackupninja-065c9aa959922aaad5d9453335cd3fc5c3495bcd.tar.gz
backupninja-065c9aa959922aaad5d9453335cd3fc5c3495bcd.tar.bz2
r220@um: micah | 2005-12-27 11:12:31 -0500
Add -h option to mysqlhotcopy method
-rw-r--r--handlers/mysql3
1 files changed, 2 insertions, 1 deletions
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