Update backup.sh

This commit is contained in:
Adamo 2023-04-21 06:14:03 +00:00
parent 81ff5ebf04
commit 78b00e2f17

View File

@ -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
}