# In test mode (test=1) commands are echoed, not executed
test=0
-[ $test == 0 ] && exec >> /var/log/zfs-replicate.log 2>&1
+[ $test == 0 ] && exec >> /var/log/zfs/zfs-replicate.log 2>&1
# Usage: zfs-backup [filesystem] [destination_pool]
# This script has a limitation with children under a given filesystem.