From 7cff1c3bf63fd8b00975a9c2266cad834595ef5f Mon Sep 17 00:00:00 2001 From: pinkfeet Date: Fri, 28 Dec 2018 16:58:43 +0100 Subject: [PATCH] =?UTF-8?q?a=C3=B1ado=20deteccion=20brand=20bhyve?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zonebackuptofile.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zonebackuptofile.sh b/zonebackuptofile.sh index d03e603..a50404c 100755 --- a/zonebackuptofile.sh +++ b/zonebackuptofile.sh @@ -60,6 +60,8 @@ snapshot $UUID if [ $BRAND = "kvm" ]; then snapshot $UUID-disk0 +elif [ $BRAND = "bhyve" ]; then + snapshot $UUID-disk0 fi /usr/sbin/zonecfg -z $UUID export > $RUTADESTINO/$UUID/$UUID.`date +%Y%m%d`.cfg