mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-21 22:45:05 +00:00
Added compression debug.
This commit is contained in:
parent
3486435f11
commit
41b12fe93c
@ -25,7 +25,8 @@ DEF_SPEED="20M"
|
|||||||
|
|
||||||
read LOCAL_HOST LOCAL_USER LOCAL_PORT LOCAL_TZ SEND_COMPRESSED < $nodes_file
|
read LOCAL_HOST LOCAL_USER LOCAL_PORT LOCAL_TZ SEND_COMPRESSED < $nodes_file
|
||||||
case $SEND_COMPRESSED in
|
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
|
esac
|
||||||
|
|
||||||
ORIGIN_PERMS="send,snapshot,hold"
|
ORIGIN_PERMS="send,snapshot,hold"
|
||||||
|
Loading…
Reference in New Issue
Block a user