projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16afec
)
show instance info before start of export
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 1 Mar 2015 12:44:04 +0000
(13:44 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 1 Mar 2015 12:44:04 +0000
(13:44 +0100)
gnt-backup.sh
patch
|
blob
|
history
diff --git
a/gnt-backup.sh
b/gnt-backup.sh
index
93dc448
..
e6ffc8f
100755
(executable)
--- a/
gnt-backup.sh
+++ b/
gnt-backup.sh
@@
-9,6
+9,8
@@
if [ -z "$instance" ] ; then
exit 0
fi
+
+gnt-instance list -o name,status,oper_vcpus,oper_ram,disk_usage,pnode,snodes $instance
gnt-backup export --noshutdown -n $node $instance || true # ignore error on swap partition
ssh $node zfs snap ${ganeti_export}@`date +%Y-%m-%d`_${instance}