This commit is contained in:
Milan Meduna 2024-12-17 10:36:40 +01:00
parent ef7eb47409
commit 1648c0ed1c

View file

@ -151,8 +151,6 @@ zfs send -i "$SNAP_TO_SEND_FOURTH" "$SNAP_TO_SEND_FIFTH" | lzop | pv | ssh "$DES
if [ -z "$SNAP_TO_SEND_FIRST_FOR_LATER_CHECK" ]
then
echo "Doing incus admin recover"
#Maybe not necessary...
#ssh "$DEST_IP" -p $DEST_PORT zfs set mountpoint=legacy "$DEST_ZPOOL"/lxd/storage/containers/"$CONT_VAR"; (($? != 0)) && { echo "SSH command to setup mountpoint=legacy on destination exited with non-zero"; exit 1; }
ssh "$DEST_IP" -p $DEST_PORT "cat <<EOF | incus admin recover
no
yes