# Restore to Virtual Machine in Backup Agent
Managed Backup supports restoring virtual machines to an ESXi server as part of the VMware vSphere product. This functionality allows you to restore virtual machines directly to the server or as virtual disks for further use.
Consider, item-level restore from long-term (cold) backup storages is not currently supported
Step 1
After launching the Online Backup, you can run the Restore Wizard by clicking on Restore on the Home tab if the horizontal menu.

Step 2
Click on “Next” to advance past the welcome screen for the wizard

Step 3
The next step will prompt you to select the source for the restore.

If the desired source is not in the list, you can click “Add new Storage Account” to add it.
- The backup storage is the one that contains the backup data
- The required backup prefix is set for storage account
If necessary, switch the backup prefix.
Step 4
Once the source has been selected, the next screen allows you to choose between running the plan a single time or saving it for later use.

Run restore once will execute the restore immediately upon completing the wizard. There is no option to schedule this type of restore
Save restore plan will allow you to schedule the plan to run at a later time and also schedule repeating restorations if needed
Step 5
With the type of restore selected, the next step is to select the correct Host server which the VM resides on.

Step 6
Next, you will be presented with a list of available backup types for the selected host. Select the Restore VMware Virtual Machine option to continue.

Step 7
With the correct type of restore selected, the application will generate a list of available backup plans to restore from.

Step 8
Next you will be given a choice for what point in time you would like to restore the VM to.

- Latest Version: Automatically restores the newest version of each file in the source regardless of which restore point it belongs to.
- Select the Restore Point: Restores the files as they existed at the specified restore point.
If there is no exact match for the point in time selected, the application will automatically select the closest previous restore point
Step 9
Next, you will be able to expand the list of VM backups on the selected host and choose which to restore.

Step 10
After selecting the files or folders to restore, you are able to select the location they should be restored to.

- Restore as virtual disk: Restores the virtual disks in the backup as a file which can later be mounted to a VM. No configuration files are included. Several formats are available:

- Restore to VMware VSphere: Selecting this option restores the virtual machine configuration as well as the virtual disks to VSphere as a VM.
- Restore to Amazon Web Services: If enabled, this will restore the selected VM directly to AWS Cloud either as an EC2 instance, EBS volume, or AMI.
- Restore to Microsoft Azure: This will restore the VM directly to Azure as either an Azure Virtual Machine or Azure Data disk.
Step 11
The next step is to select the disks to be restored.

Step 12
The next step is to choose a destination for the restored VM or virtual disk.

Step 13
Once the destination is selected, you are presented with additional options for importing the restored VM.

- Specify datastore…: Select the destination disk on the VMware host where the VM should be restored to.
- Specify the behavior…: Choose the action to take if the target VM being overwritten is currently powered on. If you select Skip then any powered on VMs will be ignored during the restore process.
Step 14
Next, you will be prompted to select which VM you would like to overwrite. If you wish to restore it as a different name or target VM, select or type over the value in the Restore as list.

- Restore As: Enter a new name in this field to restore the VM with a new or different name.
Step 15
After selecting the destination and any associated options, you will be prompted to provide the password to decrypt the VM backup data, if encrypted

Step 16
If Save restore plan was selected at the start of the wizard then the next step is to set the schedule for the restore plan. Otherwise this step will be omitted.

- No schedule (run manually): Use this option only when you wish to execute the Restore manually.
- Specific date: Use this to schedule a one-time Restore at the specified date and time.
- Recurring: Using this option enables you to schedule recurring Restorations based on the criteria in the fields below.
- Synchronize repository before run: Enable this option to ensure the file tree reflects the latest modifications made to your storage. It is a good practice to use it when you restore to a different computer
Do not use the Stop the plan if it runs for: option if you have a slow or unstable internet connection
Enabling the Run missed scheduled restore immediately when computer starts up option will ensure that the restore plan will begin automatically after the computer starts up if it was unable to run at the scheduled time. This is only recommended for desktops and laptops. For servers, it is recommended that you run the restore plan manually when all maintenance works are completed to avoid adversely affecting server performance and internet bandwidth during working hours
Step 17
The next step is to set any custom scripts which should execute before and/or after the restore plan runs.

Step 18
Specify the notifications options, then click Next.

Step 19
The next step of the Wizard displays a summary of the selections made throughout the process. Once you have reviewed your selections, click “Next”.

You can see the saved plan on the Restore Plans tab. If Run restore once was selected at the beginning of the wizard, the plan will immediately execute once you click Next.
| Top |
Edit a Restore Plan
To edit the restore plan, proceed as follows:
- Switch to the Restore Plans tab.
- Open the restore plan you want to edit by expanding it, then click Edit.
- Proceed through the Restore Wizard steps to adjust settings as needed.
- If the plan is currently running, you'll need to select one of the following options:
- Apply changes after the restore plan completes
- Stop the plan and apply changes.
- After choosing the desired option for the running restore plan, click Apply.
- Save the edited plan configuration.
You can edit certain scheduled restore plan parameters directly, without using the restore wizard, as long as the restore plan is not currently running. Editable parameters are marked with a pencil icon. To make a quick edit, simply click the pencil icon next to the parameter
Delete a Restore Plan
To delete the restore plan, proceed as follows:
- Switch to the Restore Plans tab.
- Open the plan to delete, expand it, then click Delete.
- Click Yes to confirm the restore plan deletion.
Item-level Restore
Note that Item-level restore is only available for guest OS with the NTFS file system support
You can restore only selected items of backed up virtual machines as files using Backup Agent for Windows.
To do this, proceed as follows:
- Open the Backup Agent for Windows.
- In the Backup Storage tab, select the required virtual machine, then expand its contents.
- Select Restore Data.
- Select the required objects, right-click and select Restore Data.
- Specify the restore location.