04 66 72 51 22

ESXi virtual machine restore rejected: VM powered on, target disk too small, disks mixed up

This page is intended for administrators restoring a VMware ESXi virtual machine (VM) where the restore is rejected before anything has been written. It explains each rejection message and what needs to be prepared on the target VM. It covers the BeBackup 7 agent for Windows, the Restore a virtual machine wizard in the web interface, and the agent's ESXi restore screen.

For host connection issues, see the page on connecting to the ESXi host and the VDDK library.

The target VM must be powered off

Symptom

The virtual machine must be powered off before a restore can be performed.

In the web wizard, the Target virtual machine step may also display: No powered-off VM found - the target VM must be powered off before a disk can be restored to it.

Cause and resolution

The restore overwrites the target VM's virtual disks. It will refuse a powered-on VM. The web wizard only lists powered-off VMs.

Power off the target VM in vSphere, then restart the restore. On the command line, the AutoPowerOff=1 option powers off the VM before the restore, and AutoPowerOn=1 powers it back on afterwards.

The target VM cannot be found

Virtual machine "…" not found.

The name supplied does not match any VM on the host. Check the spelling of the name (the search is case-insensitive). On the command line, the target VM must already exist: the -RestoreToVm command never creates one. The web wizard, however, can create the VM: it offers Recreate the VM from the backup when the source is a VM, and Create an empty VM when the source is a physical machine.

The target disk is too small

Symptom

The hard disk to be restored is larger than the target hard disk (Source: … [… , Destination: … […]). Error 368.

The same message may end with Error 369.

Cause and resolution

Each backed-up disk is written to a virtual disk on the target VM. That target disk must be at least as large as the backed-up disk. The message gives both sizes.

Two options:

  • Enlarge the target VM's virtual disk in vSphere, with the VM powered off, then restart the restore.
  • In the web wizard, have the VM created: Recreate the VM from the backup for a VM source, Create an empty VM for a physical source. The disk created takes the size of the source disk. For a physical source, Create an empty VM is greyed out if several disks are selected.

The selected disks mix two backup modes

Symptom

The selected disks mix a file-by-file (NTFS) backup and an image backup: the engine cannot restore them in a single operation. Restore them separately.

In the agent's restore screen, the message begins with Virtual machine "…": the selected disks mix….

The web wizard also warns beforehand, as soon as the backup is selected: This backup contains disks backed up file by file (NTFS) and disks backed up as an image….

Cause and resolution

An ESXi VM can be backed up in two ways:

  • as an image, block by block (Image (block by block) in the web wizard);
  • file by file (NTFS (browsable file by file)), which allows a single file to be restored.

The mode is read from the backup itself. A single restore cannot handle both modes at once. Restore the disks of one mode first, then run a second restore for the disks of the other mode.

On the command line, the NtfsMode=1 option must match the way the backup was made.

The backed-up disk cannot be found

The virtual disk "…" was not found by the BeBackup server.

The requested disk does not exist in the selected backup. Check the date of the backup, and that the disk was indeed part of that VM's backup on that date. On the command line, also check the NtfsMode option: a mode that does not match the backup points to a disk that does not exist.

Disk mapping errors

In the agent's ESXi restore screen, each backed-up disk must be mapped to a disk on the target VM.

  • The target disk "…" is used for several source disks. Two backed-up disks point to the same target disk. The second would overwrite the first. Choose a different target disk for each.
  • These virtual machines have not been mapped to a target on the ESXi server: followed by the list of VMs. Click their Target column to map them.
  • No disk is mapped to a destination for virtual machine "…". At least one disk on this VM must be mapped to a target disk.

An agent update is required

An update for the backup agent is available. It must be installed before a restore can be performed.

In the agent's restore screen, the window also shows the available version and asks Update now?.

The server requires the agent to be up to date before any restore. Install the update offered by the agent, then restart the restore.

Before starting a restored VM

  • For a Windows 11 VM, do not add a virtual TPM (Trusted Platform Module) if the backed-up machine did not have one. Otherwise, the VM will fail to boot.
  • The guest operating system selected in the wizard must match the backed-up system.

If the problem persists

Contact BeBackup support. Please include:

  • the name of the source VM and of the target VM;
  • the date of the backup being restored;
  • the full error message;
  • the agent service log, bbAgent-service.log.

BeBackup is backup built for IT service providers

Backup and restore of workstations, servers, virtual machines and Microsoft 365, encrypted at source with a key we do not hold, on the hosting of your choice.