show instance info before start of export
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 1 Mar 2015 12:44:04 +0000 (13:44 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 1 Mar 2015 12:44:04 +0000 (13:44 +0100)
gnt-backup.sh

index 93dc448..e6ffc8f 100755 (executable)
@@ -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}