diff options
author | Micah Anderson <micah@riseup.net> | 2005-12-27 17:37:54 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2005-12-27 17:37:54 +0000 |
commit | 065c9aa959922aaad5d9453335cd3fc5c3495bcd (patch) | |
tree | a46150966841d9f5a5f39aa7f2f30ee5aaa57442 /handlers/mysql | |
parent | 06edbbddc536c3c7e204e54ca7897d9614307fcd (diff) | |
download | backupninja-065c9aa959922aaad5d9453335cd3fc5c3495bcd.tar.gz backupninja-065c9aa959922aaad5d9453335cd3fc5c3495bcd.tar.bz2 |
r220@um: micah | 2005-12-27 11:12:31 -0500
Add -h option to mysqlhotcopy method
Diffstat (limited to 'handlers/mysql')
-rw-r--r-- | handlers/mysql | 3 |
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 |