Skip to main content

Restore


Restoring a Hyper-V Guest VM

There are three major types of restore options, mainly:

  • Run Direct Restore
  • Non-Run Direct Restore
  • Granular Restore

Run Direct Restore

Run Direct Restore
Type 1 - Original Hyper-V Host
  • Start up a guest VM from Backup Destination without Auto Migration Enabled - The guest VM data will not migrate to the destination until you manually trigger this action by following the steps in Migrate Virtual Machine (Permanently Restore). If manual migration is not performed, any changes made during the Run Direct instance will NOT be committed to backup files.
  • Start up a guest VM from Backup Destination with Auto Migration Enabled - To start up the guest VM directly from the backup file and then start restoring the guest VM files to the Hyper-V server. VM guest will start migrating without the need to trigger a manual migration. Any changes made during the Run Direct instance will also be committed to the Hyper-V server as well.
Type 2 - Different (Standby) Hyper-V Host

Run Direct restore guest VM to a standby Hyper-V host is supported.

This restore option allows you to restore your backed up guest VM to another Hyper-V host, for example, if your original Hyper-V host is down and you need to restore your production guest VMs to a standby Hyper-V host.

  • Start up a guest VM from Backup Destination without Auto Migration Enabled - The guest VM data will not migrate to the destination until you manually trigger this action by following the steps in Migrate Virtual Machine (Permanently Restore). If manual migration is not performed, any changes made during the Run Direct instance will NOT be committed to backup files.
  • Start up a guest VM from Backup Destination with Auto Migration Enabled - To start up the guest VM directly from the backup file and then start restoring the guest VM files to the Hyper-V server. VM data will start migrating without the need to trigger a manual migration. Any changes made during the Run Direct instance will also be committed to the Hyper-V server as well.

Non-Run Direct Restore

Non-Run Direct Restore
Type 1 - Original Hyper-V Host
  • Restore of a Guest VM to the Original Hyper-V Host (Original Location) - This option will restore guest VM to original location which contains the backed up guest VM.
  • Restore of a Guest VM to the Original Hyper-V Host (Alternate Location) - - This feature will restore any guest VM to another location (a different disk or folder) on the same Hyper-V host.
Type 2 - Different (Standby) Hyper-V Host
Restore of a Guest VM to a different (Standby) Hyper-V Host - This restore option allows you to restore your backed up guest VM to another Hyper-V host, for example: if your original Hyper-V host is down and you need to restore your production guest VM’s to a standby Hyper-V host.
Type 3 - Individual Virtual Disk Restore
Restore of an Individual Virtual Disk to Original/Different Guest VM - The Restore raw file feature is used to the restore of an individual virtual disk to the original or a different guest VM.

Granular Restore

Granular Restore

AhsayOBM makes use of Granular Restore technology to enable a file level restore from a virtual disk file (VHD) of guest VM backup possible. It is particularly useful if you only need to restore individual file(s) from a guest VM, which would normally take a long time to restore and then boot up before you can gain access to the files on the virtual disks. Granular restore gives you a fast and convenient way to recover individual files on a guest VM.

For more details about Granular Restore, refer to the Granular Restore section.

Restore of a guest VM to a different (standby) allows you to restore your backed up guest VM to another Hyper-V host, for example if your original Hyper-V host is down and you need to restore your production guest VM’s to a standby Hyper-V host.


Restoring a Hyper-V Guest VM

  1. In the AhsayOBM main interface, click the Restore icon.

    success

  2. Select the backup set, destination and restore mode.

    success

    • For Non-Run Direct, Run Direct and Individual Virtual Disk Restore, select Restore virtual machines.
    • While for Granular Restore, select Restore individual files inside virtual machine (Granular Restore).

    You may change the path under “Temporary directory for storing restore files” by clicking the Browse button. This will allow you to select the directory that will be used to store the temporary files.

    Click Next to proceed.

  3. FOR GRANULAR RESTORE ONLY: The following screen will only be displayed if Granular Restore is performed on the machine for the first time. Make sure you click Yes to confirm mounting of the virtual disk on this machine. Clicking No will exit the restore process.

    success

  4. Select to restore the Hyper-V guest from a specific backup job then select the files or folders that you would like to restore. Click Next to proceed.

    success

    To do an Individual Virtual Disk Restore, tick the Restore raw file checkbox.

  5. The next screen that will be displayed depends on the type of restore to be done.


    Non-Run Direct and Run Direct Restore

    1. You can select to restore the Hyper-V guest VM to the Original location or an Alternate location.

      success

      1. Original location - the Hyper-V guest VM will be restored to the same directory path which stores the backup source on the original Hyper-V host.
      2. Alternate location - – the Hyper-V guest VM will be restored to a different directory path on the original Hyper-V host.

        Click Next to proceed.

        success

        The following values are needed to be updated:

        1. Virtual Machine Name
        2. Virtual Machines Directory Location (guest configuration files)
        3. Virtual Hard Disk Location (new location for the guest VHD files)

      For restore to an alternate Hyper-V Host with a different CPU architecture, the latest version of AhsayOBM client application must be installed.

    2. You can configure the type of restore to be done whether it is Non-Run Direct or Run Direct by ticking/unticking the Run Direct checkbox.

      The “Run Direct” checkbox will only be displayed if the “Run Direct” feature was enabled upon backup set creation.

    3. The option “Auto migrate after Run Direct is running” will only be available once “Run Direct” is ticked.

      success

    4. To configure other restore settings, click Show advanced option.

      success

      When “Verify checksum of in-file delta files during restore” is enabled, this will verify the checksum of in-file delta files and will make the restore process time longer. It is recommended to enable the feature only if you want to verify if the merged files were correct.

    5. Click Restore to start the restoration.
    6. If the guest VM selected to be restored already exists on the Hyper-V server, AhsayOBM will prompt to confirm overwriting of the existing guest VM.

      success

      • Yes - the existing guest VM will be deleted from the Hyper-V server before the restore process starts.
      • No - the restore of the current guest VM will be skipped.
    7. After the Hyper-V guest VM has been restored, you will see the following screen.

      success

    8. Go to the Hyper-V server and open the Hyper-V Manager to verify the guest VM has been restored and is powered off.

      success

    9. Power on the guest VM and verify if it is running correctly.

      Example: WIN_restored

      success

    10. FOR RUN DIRECT RESTORE ONLY: COntinue to the next section for instructions on how to:


      Migrate Virtual Machine (Permanently Restore)

      To permanently restore the guest VM after starting up using the Run Direct option, you will still need to migrate it to from the backup destination to the designated permanent location on the Hyper-V server using the Migrate Virtual Machine option. This process can be performed even when the VM is already running.

      1. After starting up the VM from the backup destination, click Close.

        success

      2. Select the virtual machine then click Migrate Virtual Machine.

        success

      3. This will be displayed once the migration is successful.

        success

      AhsayOBM will begin migration of the guest VM from the backup destination to the Hyper-V Server.

      The guest VM can be used during the migration process. Any changes made in the guest VM environment is saved in transaction logs and will be applied when the migration process is completed.

      When finalizing the restore, during the application of changes in transaction logs with the restored guest VM, the guest VM will be put into saved state temporarily. Once the changes have been applied, the guest VM will resume.


      Stop Run Direct Virtual Machine

      You can stop running guest VMs started up using Run Direct by either:

      • Quitting AhsayOBM

        success

      • Click on the Stop Run Direct button after.
      • When the Auto Migrate option is selected, there will be no Stop Run Direct option available. As once the auto migration is completed, the guest VM will have been fully restored to the HyperV Host and will be running and managed under the Hyper-V Host environment. Therefore, the Run Direct VM instance will no longer exist as a result.
      • The "Stop Run Direct" link is only present if you run a Run Direct restore without auto migrate selected.
      • When a guest VM started in a Run Direct instance is stopped, any changes made within the guest environment will be lost, if the guest VM is not migrated to the Hyper-V Server using the “Auto migrate after Run Direct is running” option.

    Individual Virtual Disk Restore

    The “Restore raw file” feature is used for the restore of an individual virtual disk to the original or a different guest VM.

    1. Click Browse to select the location on the Hyper-V server you want to restore the virtual disk to.

      success

    2. Select the path then click OK.

      success

    3. Click Restore, then wait for the restoration to finish.

      success

    4. In Hyper-V Manager, right click on the guest VM you wish to add the virtual disk to, then click Settings.

      success

    5. Select Add to add virtual disk to the guest VM.

      success

    6. Click Browse to choose the vhd file.

      success

    7. Select the folder where the restore virtual disk is located.

      success

    8. After the virtual disk is added. Start the guest VM to confirm. Depending on the guest operating system there may be other configuration settings to be completed before the disk is available.

      success


    Granular Restore

    1. Specify the drive where you wish the mounted image to be mapped on your machine.

      success

    2. When the virtual disk(s) are in the process of being prepared for mounting on the AhsayOBM machine, you will see the following screen.

      success

    3. Select the files that you want to restore then click Next to proceed.

      success

    4. Select the path where the restored files will be saved by clicking the Browse button. Click Restore to start the restoration process.

      success

    5. The following screen shows when the selected files have been restored to the defined destination.

      success

    6. Click Close then Stop the granular restore to unmount the virtual disk.

      success