# Whole VM recovery

## Restoration process

{% stepper %}
{% step %}
Open the **VMware** tab (**Virtual Machines** > **VMware**) in [**XMS**](#user-content-fn-1)[^1], then click the **Manage & Restore** button next to the host whose backup you want to restore.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FsdEXyVXALY0bOMZav8qW%2Fimage.png?alt=media&#x26;token=20219816-8fad-4beb-acd7-deccebea2a21" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the VM you want to restore and click the **restore** <img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FnnEzO6uWLI0FSaSKcvQT%2Fimage.png?alt=media&#x26;token=d02b437f-5696-4839-b589-2707a428e494" alt="" data-size="original"> button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F6vqBFIvbNaISPKV5yrgZ%2Fimage.png?alt=media&#x26;token=cde03452-047d-4456-a798-59d6bb861d22" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
After choosing the backup plan and VM version, click **Restore** under the backup copy you wish to recover and select the **Whole machine** option from the drop-down list.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FKE3GCMS0QQJNQiWkmmrq%2Fimage.png?alt=media&#x26;token=64aa7f38-3f0f-4d98-8d8b-6b3ef02fb975" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Specify whether to restore the VM to its original location or a new one:

1. **Original location** — the **original location** option automatically applies all settings from the backup, restoring the virtual machine to the same **ESXi**/**vCenter**, datastore, compute resource, and VM folder, with the same virtual network configuration. The only setting you can modify is the VM name.
2. **New location** — this option allows you to manually choose the location to which the VM will be restored and adjust additional settings:
   1. **VMware environment** — this field allows you to select the **ESXi** host or **vCenter** where the data will be restored (the list displays only servers that are connected to **Xopero ONE**).&#x20;
   2. **Compute resource** — lets you choose the compute resource infrastructure to process the recovered data.
   3. **Datastore** — the location where the virtual machine files will be stored. **Xopero ONE** operates within the selected **VMware** environment.
   4. **VM folder** — lets you select the specific directory on the datastore where the VM will be restored.
   5. **Virtual network** — allows you to select your virtual network resource.

<div><figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F6pA1BjUqQKX61XTIGJj2%2Fimage.png?alt=media&#x26;token=18c5b2ec-5ebd-4e0d-8a6d-3de2558f3835" alt=""><figcaption></figcaption></figure> <figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FJ1dLDe0uywpFJ2q4rnrl%2Fimage.png?alt=media&#x26;token=6c7d071f-ecee-4c0a-b71f-10c3df79d92f" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
After adjusting the **VMware** options, click **Next** to open the **Restore data** aside and configure the following settings:

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F1Zibs40RMxTX2RRGZM7P%2Fimage.png?alt=media&#x26;token=3bb36a57-db3a-4ce4-88d4-0f7a418e6d56" alt=""><figcaption></figcaption></figure>

1. **VMware power state** — lets you choose whether the virtual machine should start immediately after the restore or remain offline.
2. **Transport method** — allows you to choose one of the available transport methods:
   1. **Automatic (recommended)** — **Xopero ONE** will automatically determine the best available transport method for each worker and apply it accordingly.
   2. **HotAdd** — available only for **virtual appliance workers** (see [this article](https://helpcenter.xopero.com/xopero-one-en/backup-and-recovery/virtual-machines/vmware/integration/virtual-appliance) for more details). This method creates a snapshot and a linked clone of the target virtual machine. The disk is then attached to the **worker**, which reads the linked clone’s virtual disks for backup.
   3. **SAN** — this mode requires the backup server to have access to the **SAN** storage containing the virtual disks. A **SAN backup worker** must be a physical machine. In this mode, data is read directly from the **VMware LUN** storage where the virtual disks are located.
   4. **LAN** — also called **NBD**/**NBDSSL**. In this mode, the **ESXi** host reads data from the storage and sends it over the network to the worker. This method is typically used when no other transport option is available.
3. **Restore settings** — allows you to limit the internet bandwidth.
4. **Device used to restore the data** — lets you choose the device (**worker**) directly responsible for restoring your virtual machine. You can have multiple workers and assign different ones to each backup plan or restore process. A **worker** can be either a physical or a virtual machine.

{% hint style="danger" %}
Devices running **macOS** are not supported for restoring **VMware** data.
{% endhint %}
{% endstep %}

{% step %}
Once configured, click **Start now** to begin the restoration process.
{% endstep %}
{% endstepper %}

[^1]: Xopero ONE Management Service
