From: Dobrica Pavlinusic Date: Sun, 1 Mar 2015 12:44:04 +0000 (+0100) Subject: show instance info before start of export X-Git-Url: http://git.rot13.org/?p=gnt-info;a=commitdiff_plain;h=b392cd18bad8e411a4e39816628d876ef49ab749 show instance info before start of export --- diff --git a/gnt-backup.sh b/gnt-backup.sh index 93dc448..e6ffc8f 100755 --- 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}