# Granular recovery

#### In **Xopero ONE**, there are **three recovery options** available for image-level backups, allowing you to choose the one that best suits your needs and preferences.

***

## Initiating the recovery process

{% stepper %}
{% step %}
Open the restore view in [**XMS**](#user-content-fn-1)[^1] using one of the following options:

#### **Option A**

1. Go to the **Devices** tab and click **Restore** next to the device whose data you want to recover. After selecting the device you want to restore, choose the plan containing the data you want to recover from the **Backup plans** drop-down menu.

{% hint style="info" %}
At the bottom of the aside, you can see which **agent** is being used to access the storage. To change the device, click **Change**. Ensure the selected device has access to the storage.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FJeu0xZObziAjAdBgouAf%2Fimage.png?alt=media&#x26;token=833282bc-1b66-4c68-9b3a-aba7728179d7" alt=""><figcaption></figcaption></figure>

#### **Option B**

1. Go to the **Storages** tab, select the storage containing the backup data, and click the **folder** 📂icon to browse the storage.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FaJQkVYAvOM8mK35JPV2g%2Fimage.png?alt=media&#x26;token=89f7f272-af3f-470a-aa46-705956622434" alt="" width="554"><figcaption></figcaption></figure>

2. Select the device whose data you want to restore. Then, choose the backup plan and review the information about the **agent** used to connect to the storage.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FOZO9Y39Hf8xgVHK9YXiC%2Fimage.png?alt=media&#x26;token=f80f1cf0-5a72-40f3-9ac1-37812dee5395" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
After selecting the appropriate device and backup plan, the system will display the **Backup copies** section — here, you can choose the backup version you want to restore. Click the desired date, then select **Restore**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F9TyC7p5n9loRqm3h7bYY%2Fimage.png?alt=media&#x26;token=c33a4305-da5c-4ec1-89c8-cb7fc01df471" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Choose one of the available granular recovery options to proceed (click one of the following links to continue):

1. [iSCSI target](#iscsi-target)
2. [File image](#file-image)
   {% endstep %}
   {% endstepper %}

***

## iSCSI target

The **iSCSI** target option allows you to quickly create and share an **iSCSI** resource over the **TCP/IP** protocol. You can connect this resource to any device without restoring backup copies to another location. This method is useful for granular restoration and enables easy file copying through the file explorer.

{% hint style="success" %}
In case of a failure, the **iSCSI** resource can also be connected as a virtual machine disk.
{% endhint %}

{% stepper %}
{% step %}
Select all disks by clicking **Restore all**, or choose a specific disk and click **Restore selected**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FnMB7kQFm8c4reFu46g2b%2Fimage.png?alt=media&#x26;token=fef58219-9a51-4998-8d98-862b95e2c2a0" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you want to modify the data to be restored, click the **Edit** button to return to the selection window.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FdSIgOWkRwuj3IXAWMOWP%2Fimage.png?alt=media&#x26;token=af591a18-1158-4c3d-b7c9-df53bd469daf" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
The **iSCSI worker** section allows you to select the device that will host the **iSCSI** target. To change the device, click the **Edit** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FIuyotIBXsQ9JJBnfnZPH%2Fimage.png?alt=media&#x26;token=261bf2cd-efe7-4400-8801-14a465980e14" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Next, in the **iSCSI settings**, select the network interface—preferably the same one shown in the **iSCSI worker** section—and choose the port. You can either accept the default values or specify different ones.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FoFaVTjOz8xKvh1N8rMXk%2Fimage.png?alt=media&#x26;token=4c1917a3-7dde-48a1-a78e-8a283f7af039" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Accept the default **iSCSI** target name or enter a different one. Click **Run iSCSI** to start the **iSCSI** service.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FuPRO4ekBrHS08DDmn3o2%2Fimage.png?alt=media&#x26;token=cc852905-5b85-42ed-8d19-e98a60cc2487" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If the restoration was configured correctly, its details will appear in the **Current tasks** list in the **Tasks** tab.
{% endstep %}
{% endstepper %}

***

## Mounting iSCSI target

{% stepper %}
{% step %}
Press **Win** + **R** simultaneously to open the **Run** window. Type **iscsicpl.exe** and click **OK** (or press **Enter**) to launch the **iSCSI Initiator**.
{% endstep %}

{% step %}
In the **Targets** tab, enter the IP address of the network interface from the **Xopero ONE iSCSI** configuration in the **Target** field, then click **Quick Connect**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FUgkwcXFwB5gyoVUl7QaZ%2Fimage.png?alt=media&#x26;token=b4799aa0-2e87-4176-ad42-9dfb3821eaec" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
The **iSCSI Initiator** will search for available **iSCSI targets** and add them to the **Discovered Targets** list. Click **Done** to close the window.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F9O9DGboxs7mjg0ZDBPwi%2Fimage.png?alt=media&#x26;token=ff6bd33f-dff1-4bab-96df-01a5292cb835" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If the setup is successful, the target’s status will change to **Connected**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Ffcx1k9sX8rsSrePaq6mZ%2Fimage.png?alt=media&#x26;token=2d70eb51-856b-4e80-9db2-d1d69b866597" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Press **Win** + **R** simultaneously to open the **Run** window. Type **compmgmt.msc** and click **OK** (or press **Enter**) to launch the **Computer Management** and go to the **Disk Management** section.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FnTwJKeTPnNyz50pk6jEX%2Fimage.png?alt=media&#x26;token=95ad1a1e-67ad-4375-afd2-8303bd1f2545" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Locate the new disk on the list, then right-click it and select **Online** to initialize the disk.
{% endstep %}

{% step %}
After a moment the disk should be available and ready to use.
{% endstep %}
{% endstepper %}

***

## File image

{% stepper %}
{% step %}
Select the disk you want to restore and click **Restore selected**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FbdSNSFTuudVfkPmMC48E%2Fimage.png?alt=media&#x26;token=d012c143-69ee-4204-9354-834e4631d980" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you want to modify the data to be restored, click the **Edit** button to return to the selection window.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fj6gY48orN6TTvUQ2N0wz%2Fimage.png?alt=media&#x26;token=6a200f15-c30a-4887-be48-7c149301dd6a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Next, choose the image format from the available options:

1. **RAW**
2. **VHD**
3. **VHDX**
4. **VMDK**

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FEI8cQW3e3qKh9LIURMFb%2Fimage.png?alt=media&#x26;token=6d570075-5b11-4513-a362-a89c54eff1a6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the device where you want to restore the data—to change it, click the **Edit** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fzmgw5G0gaKvCMPoL0Cw5%2Fimage.png?alt=media&#x26;token=72d920ac-f4ec-4562-b820-2168df4b3a5f" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Specify the exact path for restoring the data in the **Restore directory** section.

{% hint style="warning" %}
Keep in mind that the restored image will occupy the same space size as the original disk.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FikuhWn1eWe18D83oP93d%2Fimage.png?alt=media&#x26;token=3fd67336-d2a3-4a08-b783-0b30b6b794b6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In **Restore settings**, there are three checkboxes with additional options you can use:

1. **Overwrite existing data** — choose whether to overwrite existing files in the restore directory.
2. **Restore file permissions** — restore the original permissions of the files.
3. **Reduce bandwidth** — limit network usage during the restore process.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F25sBdVS6ShLi8X0H7Blb%2Fimage.png?alt=media&#x26;token=e8c1359d-1100-425f-a697-8dfeb7e08bad" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Double-check your configuration and click **Start** **now** button to start the recovery process.
{% endstep %}

{% step %}
If the restoration was configured correctly, its details will appear in the **Current tasks** list in the **Tasks** tab.
{% endstep %}
{% endstepper %}

[^1]: Xopero ONE Management Service
