---
title: "Restore volumes"
sidebar_label: "Restore volumes"
sidebar_position: 4
description: "How to restore volumes using a backup agent on Linux and Windows"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'

# Restore Volumes

Partition-level recovery on Linux and Windows is possible using a backup agent. Backups of the Entire computer and Volume level types created via Veeam Agent are suitable for partition recovery.

The volume to be restored must not be in use by the OS (it must not have mount points). If you need to restore an active volume to its original location or to another volume used by the OS, [restore the virtual machine using Veeam Recovery Media](/veeam-agent/restore-from-backup/restore-machine.mdx).

<Tabs queryString="os">
  <TabItem value="linux" default>
    <TabItemLabel>
      Linux
    </TabItemLabel>

    Recovery is performed on a running system with a backup agent installed. For more information on limitations and the recovery procedure, see the [Restoring Volumes with Command Line Interface](https://helpcenter.veeam.com/docs/agentforlinux/userguide/volume_restore_cmd.html?ver=60) section of the Veeam documentation.

    1. List the available backup files (policies):

       ```bash
       veeamconfig backup list --all
       ```

    2. Copy the Backup ID of the required policy.

    3. View the available recovery points:

       ```bash
       veeamconfig point list --backupid <backup_id>
       ```

       Specify `<backup_id>` — the policy Backup ID.

    4. Copy the OIB ID of the required recovery point.

    5. Start the recovery from the selected point:

       ```bash
       veeamconfig point restore --id <oib_id> --targetdev <target_volume> --backupdev <backup_volume>
       ```

       Specify:

       * `<oib_id>` — the recovery point OIB ID;
       * `<target_volume>` — the volume (block device) on the virtual machine where the volume will be restored from the backup;
       * `<backup_volume>` — the volume (block device) in the backup.

    6. Click **y**.

    7. Optional: monitor the recovery process:

       ```bash
       veeamconfig session log –id <session_id>
       ```

       Specify `<session_id>` — the session ID.
  </TabItem>

  <TabItem value="windows">
    <TabItemLabel>
      Windows
    </TabItemLabel>

    Read more about volume restoration on Windows in the [Restoring Points](https://helpcenter.veeam.com/docs/agentforwindows/userguide/volume_restore.html?ver=60) section of the Veeam documentation.

    1. In the Windows system tray, right-click the backup agent icon → **Restore** → **Entire volumes**. The Volume Level Restore Wizard will launch; for more details, see the [Step 1. Launch Volume Level Restore Wizard](https://helpcenter.veeam.com/docs/agentforwindows/userguide/volume_restore_launch.html?ver=60) section of the Veeam documentation.
    2. On the **Restore point** step, click **Next**.
    3. On the **Disk Mapping** step, select the volumes to be restored and configure their new placement (original or new disk partition — \*\*Customize disk mapping \*\*).
    4. Click **Next**.
    5. On the **Summary** step, verify the recovery settings and click **Next**.
    6. On the **Progress** step, monitor the recovery process. When the volumes are restored, click **Finish**.
  </TabItem>
</Tabs>

<Formbricks />
