Update backup.sh

This commit is contained in:
Adamo 2023-04-21 06:13:32 +00:00
parent 0f2cc329e3
commit 81ff5ebf04

View File

@ -162,7 +162,7 @@ get_latest_remote_snapshot()
*) zroot="$zroot/" ;; *) zroot="$zroot/" ;;
esac esac
fi fi
list_cmd="zfs list -t snapshot $dset" list_cmd="zfs list -t snapshot $rset"
remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1" remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1"
run_remote run_remote
} }