From ef255d79b25ae5018867a008f6ad8731cdee1938 Mon Sep 17 00:00:00 2001 From: Pablo Sarria Date: Thu, 12 Mar 2020 13:54:49 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adoinformacion=20sobre=20children=20data?= =?UTF-8?q?sets,=20encontrados=20o=20no.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zonebackuptozone.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zonebackuptozone.sh b/zonebackuptozone.sh index 3ffa6c1..bafab02 100755 --- a/zonebackuptozone.sh +++ b/zonebackuptozone.sh @@ -103,11 +103,12 @@ send_snap ${UUID} # we check this UUID for additional datasets -echo "Looking for addtional datasets in ${UUID}..." +echo "Looking for addtional children datasets in ${UUID}..." DATASET=`vmadm get ${UUID} | json datasets.0 | sed 's/zones\///' | tr -d '\n'` echo "done." if [ ! -z "${DATASET}" ]; then + echo "Finded children dataset: ${DATASET}" check_snap ${DATASET} if [ $? -ne 0 ]; then @@ -118,6 +119,8 @@ if [ ! -z "${DATASET}" ]; then fi send_snap ${DATASET} +else + echo "No children datasets finded." fi # we send the config