diff --git a/backup.sh b/backup.sh index f6ab24b..7447daa 100755 --- a/backup.sh +++ b/backup.sh @@ -218,7 +218,7 @@ send_latest() rset=`echo $dset|cut -d: -f2` dset=`echo $dset|cut -d: -f1` debug "Processing $dset (remote $rset)." - snap1=`get_latest_snapshot $dset` + snap1=`get_latest_snapshot` send_cmd="zfs send $ZFS_SEND_OPTS $dset@$snap1" recv_cmd="zfs recv $ZFS_RECV_OPTS $zroot$rset" run_send_recv