Restoring a Backup to a New Virtual Machine
Restore to New Virtual Machine lets you restore a VM backup into a newly created VM without changing the original VM.
Definition
Use this workflow for cloning, testing, recovery, and troubleshooting scenarios where the restored VM must be separate from the source VM.
Use Cases
| Use case | Description |
|---|---|
| Fault tolerance | Restore a backup into a fresh VM when the original VM is corrupted or inaccessible. |
| Testing and development | Create a replica of a production VM for a test environment. |
| Cloning and scaling | Create VM clones from a known state for load testing or scaling. |
Prerequisites
- The user must have permission to restore virtual machines.
- The source VM must have DHCP enabled to ensure correct IP configuration in the restored VM.
- Restoring to a new VM requires at least one free IP address in the same network as the original VM.
Warning
If DHCP is disabled on the original VM, the restored VM may have unexpected behavior or network failure.
Step-by-Step Guide
Locate the Backup
- Open the Virtual Machine page.
- Open the Backup tab.
- Find the relevant backup entry in the table.
Select Restore to New Virtual Machine
- Open the three-dot menu next to the backup.
- Select Restore to New Virtual Machine.
Fill VM Details
In the modal, enter:
| Field | Required |
|---|---|
| New Virtual Machine Name | Yes |
| Description | No |
Review Warnings
Read and acknowledge the required warnings:
| Warning | Meaning |
|---|---|
| DHCP Warning | Confirms DHCP is enabled on the original VM to avoid network loss. |
| EDR Warning | Reminds you to reinstall the EDR agent after restore. |
Check both boxes to enable the restore action.
Submit and Monitor
- Click Restore.
- Wait for the confirmation message or error notice.
- Open Request List in the header.
- Monitor the restore operation status.
Post-Restore
The new VM appears in the VM list and supports standard VM operations, including further backups.
EDR Visibility Requirement
For EDR visibility and functionality, reinstall the EDR agent on the newly restored VM.
Warning
If the EDR agent is not reinstalled, the restored VM EDR status may not appear accurately in MDR monitoring.
Enabling DHCP
- Open Control Panel.
- Open Network and Sharing Center.
- Open Change adapter settings.
- Right-click the network adapter.
- Open Properties.
- Select Internet Protocol Version 4 (TCP/IPv4).
- Open Properties.
- Select Obtain an IP address automatically.
- Select Obtain DNS server address automatically.
- Click OK.
- Restart the network adapter.
Edit /etc/netplan/01-netcfg.yaml and configure DHCP:
network:
version: 2
ethernets:
all-interfaces:
match:
name: en*
dhcp4: true
Apply the changes:
sudo netplan apply
Use nmcli to configure DHCP:
sudo nmcli connection add type ethernet ifname "*" con-name "default-dhcp" ipv4.method auto
sudo nmcli connection modify default-dhcp connection.autoconnect yes
sudo nmcli connection modify default-dhcp connection.multi-connect multiple
sudo nmcli connection up default-dhcp
If the VM uses NetworkManager, use the same nmcli configuration:
sudo nmcli connection add type ethernet ifname "*" con-name "default-dhcp" ipv4.method auto
sudo nmcli connection modify default-dhcp connection.autoconnect yes
sudo nmcli connection modify default-dhcp connection.multi-connect multiple
sudo nmcli connection up default-dhcp
If the VM uses wicked, edit /etc/sysconfig/network/ifcfg-eth0:
sudo vi /etc/sysconfig/network/ifcfg-eth0
Set:
BOOTPROTO='dhcp'
STARTMODE='auto'
Restart wicked:
sudo systemctl restart wicked
Glossary
| Term | Meaning |
|---|---|
| VM | A virtual machine with its own operating system and resources. |
| Backup | A saved copy of a VM's state. |
| DHCP | Dynamic Host Configuration Protocol, used to automatically assign IP addresses to VMs. |
| EDR | Endpoint Detection and Response, used for threat detection and response. |
| Audit Trail | A log of user actions for tracking. |
| Request Log | A list of user actions with status and details. |