From 41b12fe93c5e622737daa7b9bc540dcec8138581 Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 20:08:22 -0500 Subject: [PATCH] Added compression debug. --- backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 7165c68..6b1806b 100755 --- a/backup.sh +++ b/backup.sh @@ -25,7 +25,8 @@ DEF_SPEED="20M" read LOCAL_HOST LOCAL_USER LOCAL_PORT LOCAL_TZ SEND_COMPRESSED < $nodes_file case $SEND_COMPRESSED in - [tTyY]*) ZFS_SEND_OPTS="$ZFS_SEND_OPTS -c" ;; + [tTyY]*) ZFS_SEND_OPTS="$ZFS_SEND_OPTS -c" + debug "Enabled send as compressed datasets." ;; esac ORIGIN_PERMS="send,snapshot,hold"