Restore the machine to a VMware-based cloud
You can restore a backup created with Veeam Agent from the Selectel repository to a VMware-based public cloud.
For recovery to be possible, you must have a system image with necessary drivers (Linux) or a boot disk (Windows) created prior to recovery, see Prepare for Recovery with Veeam Recovery Media for more details.
You'll need:
-
a backup of the machine created in Entire computer mode or containing the required partitions;
-
resources in a VMware-based public cloud:
- virtual data center;
- vApp;
- network with internet access.
Learn more about connecting to the public cloud in VMware Public Cloud: Quick Start.
After the restore, the server name, root login and password are the same as the original ones from the backup. They can be overridden using guest OS recastomization or manually.
To restore a virtual machine:
- Create an empty virtual machine.
- Optional: Install VMware Remote Console.
- Start an empty virtual machine.
- Download the Tools virtual device drivers (Windows only).
- Restore the backup to the virtual machine.
- Configure the network environment.
- Deploy a virtual machine with Windows Server (Windows only).
- Install VMTools.
- Set up a backup on the restored machine.
1. Create an empty virtual machine
-
From the Control Panel, open the Cloud Director panel: from the top menu, click Products → VMware-based Cloud → Cloud Director.
-
Open the virtual data center page.
-
Go to Compute → vApps.
-
In the vApp card, click ACTIONS.
-
Click Add → Add VM.
-
Click Add virtual machine.
-
In the Name field, enter a name for the virtual machine.
-
In the Computer name field, enter the host name.
-
In the Type field, select New.
-
In the OS family field, select the OS family as on the original server (backup source).
-
Specify Operating System — OS as on the original server (backup source).
-
Specify Boot image:
- for Linux:
veeam-recovery-media-5.0.2.4567_x86_64.iso
; - for Windows: Veeam recovery media.
- for Linux:
-
In the Virtual CPUs field, specify the number of vCPUs.
-
In the Memory field, specify the amount of memory.
-
In the Storage block, delete all disks. They will be added later.
-
To select a storage policy for the virtual machine, select the Use custom storage policy check box and select the desired policy in the Storage Policy field. If you do not select a policy, the default policy is applied.
-
In the Networking block, click CUSTOMIZE.
-
In the Network column, select the network —
default_net
or another network with internet access. -
In the Network Adapter Type column, select
VMXNET3
. -
In the IP Mode column, select the appropriate mode for the selected network.
-
Press OK.
-
Check the parameters of the new VM and click ADD.
-
Open the vApp page → Virtual Machines section.
-
Open the virtual machine page.
-
Go to Hardware → Hard Disks.
-
Press EDIT.
-
Press ADD.
-
Configure each virtual disk to match the disks on the source machine:
- Size — is the size sufficient to restore the original data;
- Policy — Any;
- Bus Type —
Paravirtual (SCSI)
; - Bus Number, Unit Number — default.
-
Press SAVE.
2. Optional: Install VMware Remote Console
VMware Remote Console is required to use the mouse in the virtual machine console.
- From the Control Panel, open the Cloud Director panel: from the top menu, click Products → VMware-based Cloud → Cloud Director.
- Open the virtual data center page.
- Go to Compute → vApps.
- Open the vApp page → Virtual Machines section.
- Open the virtual machine page.
- Click ALL ACTIONS → VM Console → Download VM Remote Console. The download requires a VMware Customer Connect account, which you can register when you download VMware Remote Console.
3. Start an empty virtual machine
- From the Control Panel, open the Cloud Director panel: from the top menu, click Products → VMware-based Cloud → Cloud Director.
- Open the virtual data center page.
- Go to Compute → vApps.
- In the vApp card, click ACTIONS.
- Press Power → Power on.
- In the virtual machine menu, click VM Console → Launch Remote Console or Launch Web Console. The Veeam Recovery Media will load automatically. If the environment does not load, check the settings.
- Wait for Veeam Recovery Media to load the network configuration and SSH (if DHCP is available). If SSH is not required, click Proceed without SSH. After 60 seconds, the automatically configured network and access settings will be displayed.
Check Veeam Recovery Media settings
If Veeam Recovery Media does not load, check the settings.
-
From the Control Panel, open the Cloud Director panel: from the top menu, click Products → VMware-based Cloud → Cloud Director.
-
Open the virtual data center page.
-
Go to Compute → vApps.
-
Open the vApp page → Virtual Machines section.
-
Open the virtual machine page.
-
Go to Hardware → Removable Media.
-
Make sure that the correct boot disk is selected in the CD/DVD drive field:
- for Linux:
veeam-recovery-media-5.0.2.4567_x86_64.iso
- for Windows: Veeam recovery media.
- for Linux:
-
Go to the General section.
-
Make sure that the Enter BIOS Setup field is set to Enabled.
-
Reboot the virtual machine.
4. Download Tools virtual device drivers (Windows)
Driver downloads are only needed for Windows machines.
- In Veeam Recovery Media, go to the Tools section.
- Select Load Driver.
- For SAS Controller and Ethernet Controller drivers, click Install driver.
- Make sure both drivers have Online status.
- Check the box Inject these drivers into operating system while performing bare metal recovery.
- Click OK.
5. Restore the backup to a virtual machine
Use the instructions to Restore a virtual machine for the desired OS.
6. Configure the network environment
By default, the network adapters of the virtual machine do not match the network adapters of the original machine.Configure the settings to match the conditions of the new network environment.
7. Deploy a virtual machine with Windows Server
If you are running Windows, use the instructions Deploy a virtual machine with Windows Server.
8. Install VMTools
Ubuntu/Debian
RHEL/CentOS/Fedora
SuSE
Windows
-
Install VMTools (Perl required):
sudo apt install open-vm-tools
-
Make sure the service is running:
systemctl status open-vm-tools
-
If the virtual network adapter drivers or open-vm-tools are missing, the virtual machine will not connect to the network. In this case, follow steps 1-4 of the Install VMware Tools instructions.
-
On the virtual machine, check to see if the VMTools disk is mounted automatically:
mount
Command output:
/dev/cdrom on /mnt/cdrom
-
If the disk is unmounted, mount it with device file paths and mount points depending on the distribution:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom -
Check for a
.tar.gz
archive with VMTools on the mounted device:ls /mnt/cdrom
-
Extract the archive to the
/tmp
directory:tar -zxpf /mnt/cdrom/<vmwaretools.tar.gz> -C /tmp
Specify
<vmwaretools.tar.gz>
is the name of the archive with VMware Tools, depends on the version. -
Navigate to the directory with the unzipped archive:
cd /tmp/vmware-tools-distrib
-
Run the installation script:
sudo ./vmware-install.pl
-
Follow the installer's instructions.
-
After installation, reboot the virtual machine.
-
Install VMTools (Perl required):
sudo yum install open-vm-tools
-
Make sure the service is running:
systemctl status open-vm-tools
-
If the virtual network adapter drivers or open-vm-tools are missing, the virtual machine will not connect to the network. In this case, follow steps 1-4 of the Install VMware Tools instructions.
-
On the virtual machine, check to see if the VMTools disk is mounted automatically:
mount
Command output:
/dev/cdrom on /mnt/cdrom
-
If the disk is unmounted, mount it with device file paths and mount points depending on the distribution:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom -
Check for a
.tar.gz
archive with VMTools on the mounted device:ls /mnt/cdrom
-
Extract the archive to the
/tmp
directory:tar -zxpf /mnt/cdrom/<vmwaretools.tar.gz> -C /tmp
Specify
<vmwaretools.tar.gz>
is the name of the archive with VMware Tools, depends on the version. -
Navigate to the directory with the unzipped archive:
cd /tmp/vmware-tools-distrib
-
Run the installation script:
sudo ./vmware-install.pl
-
Follow the installer's instructions.
-
After installation, reboot the virtual machine.
-
Install VMTools (Perl required):
sudo zypper install open-vm-tools
-
Make sure the service is running:
systemctl status open-vm-tools
-
If the virtual network adapter drivers or open-vm-tools are missing, the virtual machine will not connect to the network. In this case, follow steps 1-4 of the Install VMware Tools instructions.
-
On the virtual machine, check to see if the VMTools disk is mounted automatically:
mount
Command output:
/dev/cdrom on /mnt/cdrom
-
If the disk is unmounted, mount it with device file paths and mount points depending on the distribution:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom -
Check for a
.tar.gz
archive with VMTools on the mounted device:ls /mnt/cdrom
-
Extract the archive to the
/tmp
directory:tar -zxpf /mnt/cdrom/<vmwaretools.tar.gz> -C /tmp
Specify
<vmwaretools.tar.gz>
is the name of the archive with VMware Tools, depends on the version. -
Navigate to the directory with the unzipped archive:
cd /tmp/vmware-tools-distrib
-
Run the installation script:
sudo ./vmware-install.pl
-
Follow the installer's instructions.
-
After installation, reboot the virtual machine.
- From the Control Panel, open the Cloud Director panel: VMware-based Cloud → Cloud Director.
- Open the virtual data center page.
- Go to Compute → Virtual Machines.
- On the virtual machine card, click ACTIONS → Install VMware Tools → Install.
- On the virtual machine, run
setup64.exe
from the attached DVD and install Typical. - Reboot the virtual machine.
9. Configure the backup
For VMware virtual machine backups, the VMware-based Cloud Backup service is available.
Linux
Windows
Veeam Agents use BIOS UUIDs to identify machines. A recovered machine has a new BIOS UUID, so it may not be possible to continue existing Veeam Agent backup chains.
-
Uninstall Veeam agents:
Ubuntu, Debian:
sudo apt remove veeamma veeam
RHEL, CentOS, Fedora:
sudo yum remove veeamma veeam
SuSE:
sudo zypper remove veeamma veeam
-
Install the management agent и backup agent again.
Verify that the Management Agent and Backup Agent for Windows are working correctly by one of the following methods:
- launch Active Full Backup to start a new chain of restore points;
- to save previously created restore points, disable backup execution.