diff --git a/backup.sh b/backup.sh index 6b4cc60..a5f0d7e 100755 --- a/backup.sh +++ b/backup.sh @@ -162,7 +162,7 @@ get_latest_remote_snapshot() *) zroot="$zroot/" ;; esac fi - list_cmd="zfs list -t snapshot $rset" + list_cmd="zfs list -t snapshot $zroot$rset" remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1" run_remote }