> For the complete documentation index, see [llms.txt](https://helpcenter.xopero.com/xopero-one-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.xopero.com/xopero-one-en/backup-and-recovery/workstations-and-servers/image-level-backup-recovery/granular-recovery.md).

# Granular recovery

Perform targeted granular recovery to restore individual files and folders without conducting a full system rollback.

**Granular recovery enables the restoration of individual files and folders directly from image-level backups. By mounting the disk image through an iSCSI target or as a raw file image, administrators can extract selected data without running a full system restore.**

***

## iSCSI target

The **iSCSI target** recovery option allows you to quickly create and share an iSCSI resource over TCP/IP. You can connect this resource to any device without restoring the backup copy to another location. This method facilitates granular recovery, enabling you to easily copy individual files.

{% hint style="info" %}
In the event of a system failure, the iSCSI target can also be attached as a virtual machine disk.
{% endhint %}

The following steps describe how to restore data via an iSCSI target in the **Xopero ONE Management Service** console.

{% stepper %}
{% step %}
Open the **Devices** tab, locate the device from which you want to restore the backup, and click the **Restore** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FAtP2WtS8AqQnNjh2WLHJ%2Fimage.png?alt=media&amp;token=c045bf60-7666-4806-bae0-06c93a183da9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the backup plan from which you want to restore the data.
{% endstep %}

{% step %}
Choose the timestamp from which you want to restore the data, click **Restore**, and select the **iSCSI target** recovery option from the drop-down menu.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FoDumnvmeX1YgwddcrFjS%2Fimage.png?alt=media&amp;token=7cf51565-c3a1-4a7f-9173-5fba1f00e0fe" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the disk you want to restore and click **Restore selected**, or select all disks by clicking **Restore all**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FQ8jIMdFT6WErskhjiOZP%2Fimage.png?alt=media&amp;token=3b46e906-97e3-48ea-9c40-8c4fbf1714b3" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To modify your selection later, click **Edit** next to the **Data to restore** section to return to the selection window.
{% endhint %}
{% endstep %}

{% step %}
In the **iSCSI settings** section, select the target network interface and specify the port. You can accept the default values or enter custom parameters.

<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&amp;token=4c1917a3-7dde-48a1-a78e-8a283f7af039" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Accept the default iSCSI target name or enter a custom name.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FhC74nUHMWOo1TmBAd1Gn%2Fimage.png?alt=media&amp;token=861ea367-191e-467d-958c-6d36406cfdff" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the default worker, which will host the iSCSI target.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FjkC9TnwlZ8kCdspvaUlS%2Fimage.png?alt=media&amp;token=354c2671-c40c-4670-8c7e-2424c5ac70b3" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Verify that all entered settings are correct, then click the **Run iSCSI** button to start the iSCSI service.

{% hint style="info" %}
You can view the iSCSI service status in the **Tasks** tab of **Xopero ONE Management Service**.
{% endhint %}
{% endstep %}

{% step %}
Once the iSCSI service is running, connect to the iSCSI target to access and restore the selected data.
{% endstep %}
{% endstepper %}

***

## Mounting the iSCSI target (Windows)

The following steps describe how to connect to an iSCSI target and initialize the disk in **Windows**.

{% stepper %}
{% step %}
Press **Windows** key + **R** to open the **Run** dialog box, type <kbd>iscsicpl.exe</kbd>, 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 your **Xopero ONE** iSCSI configuration into 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&amp;token=b4799aa0-2e87-4176-ad42-9dfb3821eaec" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
The **iSCSI Initiator** automatically searches for available iSCSI targets and adds them to the **Discovered targets** list. Click **Done** to close the dialog box.

<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&amp;token=ff6bd33f-dff1-4bab-96df-01a5292cb835" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If the setup is successful, the target 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&amp;token=2d70eb51-856b-4e80-9db2-d1d69b866597" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Press **Windows** key + **R** to open the **Run** dialog box, type <kbd>compmgmt.msc</kbd>, and click **OK** or press **Enter** to launch the **Computer Management** tool. In the left pane, select **Disk Management**.

<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&amp;token=95ad1a1e-67ad-4375-afd2-8303bd1f2545" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Locate the new disk on the list, right-click it, and select **Initialize Disk**.
{% endstep %}

{% step %}
Once initialized, the disk status changes to **Online** in **Disk Management**. You can now open **File Explorer** to browse and copy your selected files and folders to the destination storage.
{% endstep %}

{% step %}
After the data copy is complete, disconnect the target, open the **Tasks** tab in **Xopero ONE Management Service**, click the info <i class="fa-circle-info">:circle-info:</i> icon next to the active iSCSI task, and click **Stop iSCSI** in the bottom-right corner of the task details pane.
{% endstep %}
{% endstepper %}

***

## Mounting iSCSI target (Linux)

The following steps describe how to connect to an iSCSI target and mount the disk in **Linux**.

{% stepper %}
{% step %}
Install the iSCSI initiator package using the following commands:

{% code overflow="wrap" %}

```bash
sudo apt update
sudo apt install open-iscsi
```

{% endcode %}
{% endstep %}

{% step %}
The second command installs `open-iscsi` and creates the initiator name configuration file at `/etc/iscsi/initiatorname.iscsi`. Verify or modify this file if your target requires a specific IQN (iSCSI Qualified Name).

{% code overflow="wrap" %}

```bash
cat /etc/iscsi/initiatorname.iscsi
```

{% endcode %}
{% endstep %}

{% step %}
Next, start and enable the service.

{% code overflow="wrap" %}

```bash
sudo systemctl enable --now iscsid
sudo systemctl status iscsid
```

{% endcode %}
{% endstep %}

{% step %}
Once the iSCSI service is running, discover available iSCSI targets by running the following command (use the IP address of the network interface from your **Xopero ONE** iSCSI configuration):

{% code overflow="wrap" %}

```bash
sudo iscsiadm -m discovery -t sendtargets -p <TARGET_IP>:3260
```

{% endcode %}

Running this command returns a list of available target IQNs, for example:

{% code overflow="wrap" %}

```bash
192.168.1.50:3260,1 iqn.2023-01.com.example:storage.disk1
```

{% endcode %}
{% endstep %}

{% step %}
Optionally, configure CHAP authentication — if the target requires authentication, configure your credentials before connecting.

{% code overflow="wrap" %}

```bash
sudo iscsiadm -m node -T <TARGET_IQN> -p <TARGET_IP>:3260 \
  --op=update -n node.session.auth.authmethod -v CHAP

sudo iscsiadm -m node -T <TARGET_IQN> -p <TARGET_IP>:3260 \
  --op=update -n node.session.auth.username -v <CHAP_USER>

sudo iscsiadm -m node -T <TARGET_IQN> -p <TARGET_IP>:3260 \
  --op=update -n node.session.auth.password -v <CHAP_PASSWORD>
```

{% endcode %}
{% endstep %}

{% step %}
Next, log in to the target.

{% code overflow="wrap" %}

```bash
sudo iscsiadm -m node -T <TARGET_IQN> -p <TARGET_IP>:3260 --login
```

{% endcode %}
{% endstep %}

{% step %}
Verify that the new disk appears.

{% hint style="info" %}
You should see a new device, such as `/dev/sdb`.
{% endhint %}

{% code overflow="wrap" %}

```bash
lsblk
sudo dmesg | tail -20
```

{% endcode %}
{% endstep %}

{% step %}
Format and mount the disk using the following commands:

{% code overflow="wrap" %}

```bash
sudo mkfs.ext4 /dev/sdb
sudo mkdir -p /mnt/iscsi_disk
sudo mount /dev/sdb /mnt/iscsi_disk
```

{% endcode %}
{% endstep %}

{% step %}
Once the disk is mounted, you can browse and copy your selected files and folders to the destination storage.
{% endstep %}

{% step %}
After the data copy is complete, disconnect the target, open the **Tasks** tab in **Xopero ONE Management Service**, click the info <i class="fa-circle-info">:circle-info:</i> icon next to the active iSCSI task, and click **Stop iSCSI** in the bottom-right corner of the task details pane.
{% endstep %}
{% endstepper %}

***

## File image

The following steps describe how to restore disk backup data via file image in the **Xopero ONE Management Service** console.

{% stepper %}
{% step %}
Open the **Devices** tab, locate the device from which you want to restore the backup, and click the **Restore** button.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FIKRAyvPSYCUCnHMjn73O%2Fimage.png?alt=media&amp;token=c908f9aa-3471-491d-b9ac-011b300c535f" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the backup plan from which you want to restore the data.
{% endstep %}

{% step %}
Choose the timestamp from which you want to restore the data, click **Restore**, and select the **file image** recovery option from the drop-down menu.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FRuE6qjHM2CPsWs4W1Jxt%2Fimage.png?alt=media&amp;token=4f0b1519-2f8b-4e50-ac49-769341efa81b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% 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%2FECxLhG0343ziCoTAga1q%2Fimage.png?alt=media&amp;token=68b936d4-4f5e-4ebe-bb42-8d5f6e5b3863" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To modify your selection later, click **Edit** next to the **Data to restore** section to return to the selection window.
{% endhint %}
{% endstep %}

{% step %}
Next, select the image format from the available options: **RAW**, **VHD**, **VHDX**, or **VMDK**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FPT6XN9dCJEl0KC08ZD3E%2Fobraz_2026-09-28_143047014.png?alt=media&amp;token=69bf772a-cd58-4ba3-bd8a-41fe5eb720a5" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FRurgCypl7b1rlfGKUDPA%2Fobraz_2026-09-28_143818297.png?alt=media&amp;token=fbd868f4-f193-4144-8469-c43de4927849" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the **Restore directory** section, specify the exact path to restore data.

{% hint style="warning" %}
Please note that the restored file image requires the same amount of storage space as the original disk.
{% endhint %}
{% endstep %}

{% step %}
In the **Restore settings** section, configure the following options:

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FV9rJaEdKZae2qReEhC79%2Fobraz_2026-09-28_144235839.png?alt=media&amp;token=35ae7926-76e2-4304-a1d7-e0508bfde073" alt=""><figcaption></figcaption></figure>

1. **Overwrite existing data:** overwrites existing files in the target restore directory.
2. **Reduce bandwidth to:** limits network bandwidth consumption during the restoration process.
3. **Reset drivers:** resets system drivers to defaults to ensure hardware compatibility during system restoration.
   {% endstep %}

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

{% hint style="info" %}
You can monitor the restoration progress in the **Tasks** tab of **Xopero ONE Management Service**.
{% endhint %}
{% endstep %}
{% endstepper %}
