projects
/
ganeti-extstorage-zfs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f5192d
)
use hostname -s for export node
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 25 Jun 2014 13:49:57 +0000
(15:49 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 25 Jun 2014 13:49:57 +0000
(15:49 +0200)
t/gnt-backup-export.sh
patch
|
blob
|
history
diff --git
a/t/gnt-backup-export.sh
b/t/gnt-backup-export.sh
index
b432c85
..
583c437
100755
(executable)
--- a/
t/gnt-backup-export.sh
+++ b/
t/gnt-backup-export.sh
@@
-1,5
+1,7
@@
#!/bin/sh -xe
-./bin/ill t- | awk '{ print $1 }' | xargs -i ssh `gnt-cluster getmaster` gnt-backup export -n arh-hw {}
-./bin/backup list -n arh-hw | grep t-
+# this scripts assueme that host on which you are doing gnt-backup is localhost
+
+./bin/ill t- | awk '{ print $1 }' | xargs -i ssh `gnt-cluster getmaster` gnt-backup export -n `hostname -s` {}
+./bin/backup list -n `hostname -s` | grep t-