Source:Hyper-V Restore: Difference between revisions

From SEPsesam
(Added links for restore assistant.)
(Corrected typo.)
Line 101: Line 101:
{{anchor|additional_options}}Under the ''Target Settings'' set additional options, if required.</translate>
{{anchor|additional_options}}Under the ''Target Settings'' set additional options, if required.</translate>
<ul><li><translate><!--T:118--> Details of the selected saveset are displayed at the top and at the bottom (''Optional data source selection'') of the window. The name of the restore task is automatically generated in the ''Restore task name'' field. You can edit the name and insert a comment below.</translate></li>
<ul><li><translate><!--T:118--> Details of the selected saveset are displayed at the top and at the bottom (''Optional data source selection'') of the window. The name of the restore task is automatically generated in the ''Restore task name'' field. You can edit the name and insert a comment below.</translate></li>
<li><translate><!--T:119--> Under the '''Target data''', you can restore the Hype-V VM to the '''original VM''' (if the Target node is the same server from which the data was backed up, i.e., when the source and target server are the same) or under a ''new VM name''. If you want to restore VM under a different name, select the option '''Restore with new VM name''' and enter a new VM name or use the ''Browser'' button.</translate></li>
<li><translate><!--T:119--> Under the '''Target data''', you can restore the Hyper-V VM to the '''original VM''' (if the Target node is the same server from which the data was backed up, i.e., when the source and target server are the same) or under a ''new VM name''. If you want to restore VM under a different name, select the option '''Restore with new VM name''' and enter a new VM name or use the ''Browser'' button.</translate></li>
<li><translate><!--T:39-->
<li><translate><!--T:39-->
The '''Target node''' shows the target server to which the data will be restored. Under the ''Change VM target selection'', you can restore a task from a cluster to a different standalone server by selecting the appropriate Hyper-V target node and data store path. If no target path is defined, the VM is restored to the default location of the Hyper-V standalone server or Hyper-V cluster.</translate></li>
The '''Target node''' shows the target server to which the data will be restored. Under the ''Change VM target selection'', you can restore a task from a cluster to a different standalone server by selecting the appropriate Hyper-V target node and data store path. If no target path is defined, the VM is restored to the default location of the Hyper-V standalone server or Hyper-V cluster.</translate></li>
Line 204: Line 204:
<div class="noprint">
<div class="noprint">
==See also== <!--T:94-->
==See also== <!--T:94-->
[[4_4_3_Beefalo:Restore_Assistant|Online Restore Assistant]] – [[Special:MyLanguage/4_4_3_Grolar:Hyper-V_Backup|Hyper-V Backup]] – [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer|Cross-Platform Recovery File System Layer (the Mount feature)]]</div></translate>
[[Special:MyLanguage/4_4_3_Beefalo:Restore_Assistant|Online Restore Assistant]] – [[Special:MyLanguage/4_4_3_Grolar:Hyper-V_Backup|Hyper-V Backup]] – [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer|Cross-Platform Recovery File System Layer (the Mount feature)]]</div></translate>

Revision as of 09:27, 25 February 2020

Other languages:

Template:Copyright SEP AG en

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Beefalo/Beefalo V2. For previous documentation version(s), check Hyper-V archive.


Overview

SEP sesam enables you to restore individual VMs that were backed up from a Hyper-V standalone server or a Hyper-V cluster. Only one VM can be restored at a time, regardless of whether you are using a Hyper-V standalone server or a Hyper-V cluster backup.

You can restore single files from the FULL, INCR or COPY backups if the saveset is stored on a data store or Si3 deduplication store. By mounting VHDX the operating system creates a virtual drive from the file, assigns one or several drive letters, depending on the number of disks of the VM, and makes the drive(s) available locally on your device server. For details, see section Restoring single files.

You can also perform an online Hyper-V VM restore by using the Restore Assistant, if you have appropriate permissions. For details, see Restore Assistant.

Restore options

The following options are available when restoring Hyper-V:

  • Restore a backed up VM or perform single file restore from a FULL, COPY or INCR backup of Hyper-V VM.
  • Select a specific Hyper-V version for restore.
  • Select a complete, generation or as path restore.
  • Select an alternative location to restore your data:
    • restore a VM to the original or a different location (including CSV and SMB 3.0) with the same or a different VM name using relocation
    • restore a VM to the same or a different Hyper-V standalone server and to the same or a different Hyper-V cluster
    • perform a simple path restore of your selected Hyper-V data directly to a directory on any system instead of restoring and importing the VM to the Hyper-V manager
  • If you are performing a standard VM restore you can also select whether you want your virtual machine to start automatically after restore.
  • Schedule a restore task.

Restoring a Hyper-V virtual machine

Information sign.png Note
If you are using an older SEP sesam version (≤ Grolar), some actions that you perform in the following steps may not be available or may be slightly different so make sure to follow the version-specific instructions. For details, see Hyper-V documentation versions.

Create a new restore task for the VM you want to restore.

  1. From the SEP sesam GUI menu bar, select Activities -> Restore. The New Restore Task window opens.
  2. Select what you want to restore. You can search savesets by task name or by filename or path.
    • When searching by task name, use the drop-down list of available tasks and select the one you want to restore from. This option is selected by default.
    • If you are searching by filename/path, select the option Filename or path in a saveset and enter your search expression in the search pattern field.
  3. Under the Saved in period drop-down lists, specify the time frame for which you want to conduct the search. Click Next.
  4. Hyper-V restore filter Beefalo.jpg
  5. The search results are displayed. From the list of savesets matching your query, select the task you want to restore. Click Next.
  6. Hyper-V restore select task Beefalo.jpg
  7. Data from the selected saveset is displayed in a hierarchical tree structure. Select your Hyper-V server, then select the VM you want to restore. Click Next.
  8. Hyper-V restore select files Beefalo.jpg
  9. Under the Target Settings set additional options, if required.
    • Details of the selected saveset are displayed at the top and at the bottom (Optional data source selection) of the window. The name of the restore task is automatically generated in the Restore task name field. You can edit the name and insert a comment below.
    • Under the Target data, you can restore the Hyper-V VM to the original VM (if the Target node is the same server from which the data was backed up, i.e., when the source and target server are the same) or under a new VM name. If you want to restore VM under a different name, select the option Restore with new VM name and enter a new VM name or use the Browser button.
    • The Target node shows the target server to which the data will be restored. Under the Change VM target selection, you can restore a task from a cluster to a different standalone server by selecting the appropriate Hyper-V target node and data store path. If no target path is defined, the VM is restored to the default location of the Hyper-V standalone server or Hyper-V cluster.
    • Make sure that the target host can support the VM type you want to restore. For details, see Hyper-V troubleshooting.
      Information sign.png Note

      SMB3 restore with relocation. Under the Change VM target selection, enter new data store path. You can enter the target path by using UNC notation \\smbshare\Hyper-V\newVM. If no target path is defined, the VM is restored to the Hyper-V server default location.

    • Under the VM restore options drop-down list, select one of the following options:
      • Do not overwrite existing items (set by default): the VM will not be restored if it already exists on the target server
      • Overwrite existing items: if a VM exists on the target server, it will be replaced by the restored version
      • If you are performing a standard VM restore you can also select whether you want your virtual machine to start automatically after restore by selecting Do not start (default) / Start virtual machine after restore.
    • Preferred media pool: If the data was migrated or replicated and different media pools were used for the process, the source media pool to restore from can be selected from the drop-down list of available media pools.
    • Used media | barcode: If the data was migrated, the migrated copy is stored to another media; the source media to restore from can be selected from the drop-down list of available media.
    • The Drive field shows the drive with backed up data.
    • The Interface field shows the server with the attached data storage containing the selected saveset.
    • Click the Expert Options button if you want to specify additional restore settings (e.g., to modify the log level, define the pre/post script for restore, or use As path backup option if you want to restore your data directly to the file system). For details, see the Restore wizard.
    • Information sign.png Note
      As of v. 4.4.3. Beefalo, the Expert Options button for specifying more advanced restore options is only available in the Advanced and Expert UI mode. It is not available for users that run the GUI in Basic mode. In the latter case, you first have to change the Basic UI mode to Advanced or Expert, as described in UI Mode.

    Hyper-V restore save-start expert Beefalo.jpg

  10. In the final step of the restore wizard, you can review all the settings of your restore task. You can also edit the settings by using Change Selection button. If you want to start your restore immediately, click Start. If you want to save the restore task, click Save.

A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see Scheduling Restore.

You can view the status of your restore jobs by selecting Job state -> Restores from the Main Selection. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.

As of 4.4.3 Beefalo V2, you can also monitor the restores online by using new Web UI. For details, see SEP sesam Web UI.

Restoring single files

Information sign.png Note
If you are using an older SEP sesam version (≤ Grolar), some actions that you perform in the following steps may not be available or may be slightly different so make sure to follow the version-specific instructions. For details, see Hyper-V documentation versions.

SEP sesam enables single file restore – item-level restore of files, folders, and volumes from a COPY, FULL or INCR backup of Hyper-V virtual machine by mounting VHDX on a device server and browsing the content of a virtual disk file.

Before starting a restore, check general mount restrictions. Note that the following additional restrictions apply for mounting and single file restore on Hyper-V:

  • You can only perform single file restore on a Windows Server/RDS since you need the PowerShell in order to execute it.
  • You can only mount Windows VMs due to the underlying file system.
Information sign.png Note
You can only perform a single file restore by using the same SEP sesam version as the one used for backup. If you have performed a Hyper-V VM backup with v. 4.4.3 Grolar, you cannot perform a single file restore with v. 4.4.3 Beefalo.

Mounting Hyper-V virtual disk (VHDX file)

Create a new restore task for individual item(s) you want to restore.

  1. From the SEP sesam GUI menu bar, select Activities -> Restore. The New Restore Task window opens.
  2. Select what you want to restore. You can search savesets by task name or by filename or path.
    • When searching by task name, use the drop-down list of available tasks and select the one you want to restore from. This option is selected by default.
    • If you are searching by filename/path, select the option Filename or path in a saveset and enter your search expression in the search pattern field.
  3. Under the Saved in period drop-down lists, specify the time frame for which you want to conduct the search. Click Next.
  4. The search results are displayed. From the list of savesets matching your query, select the version from which you want to restore an individual file. Then select the check box Mount virtual disk(s); refer to the general restrictions and note that some additional Hyper-V restrictions apply.
  5. Hyper-V restore mount Beefalo.jpg
  6. Mount is triggered and all VHDXs of the selected VM are mounted to the device server using one or more unused drive letters of the Windows system e.g., D:, E:, etc. This may take a few seconds.
    Hyper-V restore mount to device server Beefalo.jpg
  7. You can now either click Next to select the required files in the Select Files dialog or use the file explorer on your server to browse and copy the needed files directly to the target location, as shown in the screenshot below.
  8. Hyper-V file explorer.jpg
  9. If you clicked Next, in the Select Files window select the data you want to restore and click Next.
  10. Hyper-V restore single file Beefalo.jpg
  11. Under the Target Settings window, select a restore target where you want to restore your files. If no target path is defined, the data is restored to the default location of the Hyper-V standalone server or Hyper-V cluster.
  12. In the final step of the restore wizard (Summary window), you can review all the settings of your restore task. You can also change the settings by using Change Selection button. You can start the restore immediately or save the restore task as a template for future use.
  13. Click OK to unmount the saveset and close your restore session.
Information sign.png Note
A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see Scheduling Restore.

You can view the status of your restore jobs by selecting Job state -> Restores from the Main selection. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.

As of 4.4.3 Beefalo V2, you can also monitor the restores online by using new Web UI. For details, see SEP sesam Web UI.