projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246783b
)
r220@um: micah | 2005-12-27 11:12:31 -0500
author
micah
<micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 27 Dec 2005 17:37:54 +0000
(17:37 +0000)
committer
micah
<micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 27 Dec 2005 17:37:54 +0000
(17:37 +0000)
Add -h option to mysqlhotcopy method
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@281
758a04ac
-41e6-0310-8a23-
8373a73cc35d
handlers/mysql
patch
|
blob
|
history
diff --git
a/handlers/mysql
b/handlers/mysql
index 408399d2e53d44b92bc249c054f232e93e494780..20905d56232010748dabff102602b25e273e3db0 100644
(file)
--- 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