---
title: "Restore machine"
sidebar_label: "Restore machine"
sidebar_position: 5
description: "How to restore a machine using Veeam Recovery Media"
---

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

# Restore machine

You can restore an entire machine if it becomes inoperable using Veeam Recovery Media. This method can also be used to restore active partitions or partitions used by the OS.

## Preparing for recovery \{#prepare}

For recovery to be possible, you must have created a system image with the necessary drivers (Linux) or a boot disk (Windows) before restoring; for more details, see the guide [Prepare for recovery using Veeam Recovery Media](/veeam-agent/restore-from-backup/veeam-recovery-media.mdx). If you are restoring a machine to the Cloud Platform, [prepare a boot disk](#prepare-volume-to-restore-machine-in-cloud-platform).

The restored machine will have a different BIOS UUID, which may cause duplicate machines to appear in the Veeam Service Provider Console ([vac.selectel.ru](https://vac.selectel.ru)). If you want to avoid this, delete the backup agent and management agent from the source machine before you start recovery. If the source machine is unavailable, [delete the management agent](#delete-management-agent) in the Veeam Service Provider Console portal.

### Prepare a boot disk for recovery to the cloud platform \{#prepare-volume-to-restore-machine-in-cloud-platform}

If you are restoring a machine to the Selectel cloud platform:

1. In the Selectel image storage, [upload the Veeam Recovery Media image](/cloud-servers/images/create-image.mdx).

2. [Create a volume from the image](/cloud-servers/volumes/create-volume.mdx).

3. [Make the volume bootable](/cloud-servers/volumes/attach-detach-volume.mdx#replace-boot-volume).

### Delete the management agent on the portal \{#delete-management-agent}

1. In the [Veeam Service Provider Console](https://vac.selectel.ru), go to **Discovery** → **Managed computers**.
2. Open the **Discovered Computers** tab.
3. Select the machine.
4. Click **Management Agent** → **Delete**.

## Restore machine \{#restore-machine}

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

    For more info on how to restore a machine using Veeam Recovery Media, see [Restoring from Veeam Recovery Media](https://helpcenter.veeam.com/docs/agentforlinux/userguide/baremetal.html?ver=60) in the Veeam documentation; for possible recovery issues, go to the [Veeam website](https://www.veeam.com/kb4183).

    You will need internet access to connect to the Selectel repository.

    1. Connect the Veeam Recovery Media drive to the machine.

    2. In BIOS/UEFI, set the boot priority to this drive.

    3. Turn on the machine and wait for Veeam Recovery Media to load. The SSH server will start automatically and provide connection parameters.

    4. If SSH is not required, click **Proceed without SSH**.

    5. Accept the license agreement and click **Continue**.

    6. Click **Configure network** → **Edit a connection**.

    7. Configure network settings for internet access and click **OK**.

    8. Click **Back**.

    9. Click **Activate a connection**.

    10. Once configuration is complete, click **OK**.

    11. Select the recovery type: **Restore volumes**.

    12. Click **Add Cloud Provider** and specify:

        * address: `vcc.selectel.ru`;
        * port: `6180`.

    13. A security certificate warning will appear when you attempt to connect. Click **Accept**.

    14. after accepting the certificate, enter the company ID used to authorize on the portal.

    15. Select the required backup and restore point. The current partition table on the machine will appear on the left, and the one from the backup will appear on the right.

    16. To restore the entire volume, select the volume → **Restore from** and choose a volume from the backup.

    17. To restore the entire disk with partition layout, select the physical device → **Restore from** and choose a disk from the backup.

    18. Check that disks and partitions are correctly mapped in the **Restore** column under **Current system**.

    19. To start recovery, press **S** → **Enter**. Startup time depends on the amount of data being restored and network speed.

    20. After starting, press **Esc**.

    21. To turn off the machine, click **Shutdown**.

    22. To disconnect the Veeam Recovery Media drive, click **ACTIONS** → **Media** → **Eject Media**.
  </TabItem>

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

    1. Run the Veeam Recovery Media recovery wizard.
    2. On the **Backup Location** step, select **Network storage**.
    3. Click **Next**.
    4. On the **Network Storage** step, select **Veeam Cloud Connect Repository**.
    5. Click **Configure Network Settings**.
    6. Select the network adapter and click **Properties**.
    7. Configure network adapter settings according to the requirements of the network the machine is connected to. In the new vApp, you can use DHCP during the recovery stage.
    8. Click **OK**.
    9. On the **Service Provider** step, in the **DNS name or IP address** field, enter `vcc.selectel.ru`.
    10. In the **Port** field, enter `6180`.
    11. Click **Next**.
    12. On the **Credentials** step, enter the company ID and password used to access the Veeam Service Provider Console.
    13. Click **Next**.
    14. On the **Backup** step, select the backup from which the machine will be restored.
    15. Click **Next**.
    16. On the **Restore Point** step, select a restore point.
    17. Click **Next**.
    18. On the **Restore Mode** step, select the recovery mode:

        * **Entire Computer** — restore the entire machine;
        * **System volumes only** — restore system volumes;
        * **Manual Restore (advanced)** — restore individual volumes with the option to map and resize them; for more info, see [Step 10. Map Restored Disks](https://helpcenter.veeam.com/docs/agentforwindows/userguide/baremetal_disk_mapping.html?ver=60) in the Veeam documentation.
    19. Click **View automatically detected disk mapping**.
    20. Verify the automatic data distribution across disks.
    21. On the **Summary** step, click **Restore**.
    22. On the **Progress** step, wait for the recovery to complete and click **Finish**. The **Saving restore logs** error does not affect recovery and can be ignored.
    23. To reboot the machine, click **Yes**.
  </TabItem>
</Tabs>

<Formbricks />
