> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/restore/hyper-v.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Hyper-V

This topic describes a few restore scenarios where you can use Tina for Hyper-V, and covers these topics:

* [Scope of Tina for Hyper-V](#scope-of-tina-for-hyper-v)
* [Restore rules](#restore-rules)
* [Restore a Hyper-V VM in file, vault, and disk mode](#restore-a-hyper-v-vm-in-file-vault-and-disk-mode)

To restore Hyper-V virtual machines in the Web Admin Console, see the[ Getting Started documentation for the Tina Web Admin Console.](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/getting-started.md)

## Scope of Tina for Hyper-V

Tina for Hyper-V lets you restore:

* Complete Hyper-V virtual machines (vault restore).
* Specific files from virtual machines (File granular restore).

> **Important**: To restore a complete virtual machine, select the version to restore and then select the node that represents the virtual machine. You must not select or deselect individual components.\
> To restore a virtual machine, Tina uses that VM's unique identifier.\
> If the restore fails and displays a message such as <kbd>"VM components and individual files cannot be restored at the same time"</kbd>, you must go back to the selection step and start the selection process again, making sure to select only the virtual machine.

## Restore rules

Tina for Hyper-V lets you restore information from virtual machines easily and quickly via the Restore and Archive interface.

See the following topics for more information:

* [<mark style="color:blue;">Restore limitations</mark>](#restore-limitations)
* [<mark style="color:blue;">Rules for restore selections in the Restore and Archive interface</mark>](#selection-rules)

### Restore limitations

Before performing any data restore for a virtual machine, review these limitations.

#### File restore

File restore has these limitations:

* This restore is only supported for virtual machines\
  running **on Windows**.
* This restore only supports virtual machine names in **ASCII format.** Virtual machine names must not contain any accented characters.
* Restoring individual files is only possible for a partition containing a standard file system. Formats such as Microsoft deduplication, the\
  Resilient File System (ReFS), or Bitlocker are not supported.

{% hint style="info" %}
**Checkpoint:** If you create a checkpoint manually, you must create only one, otherwise restores will not work if there is more than one checkpoint.
{% endhint %}

#### <mark style="color:blue;">Selection rules</mark>

<mark style="color:blue;">**Multiple backup strategies**</mark>

<mark style="color:blue;">If the interface</mark> <mark style="color:blue;">**Restore**</mark> <mark style="color:blue;">displays multiple backup strategies, restored data may be inconsistent. Limit the display to one strategy to restore consistent data.</mark>

<mark style="color:blue;">**Restore consistent data**</mark>

<mark style="color:blue;">In the interface</mark> <mark style="color:blue;">**Restore**</mark><mark style="color:blue;">, select backup strategy A, B, C, or D. Do not select the</mark> <mark style="color:blue;">**"All"**</mark> <mark style="color:blue;">option. The interface removes unnecessary objects from the display.</mark>

<figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2FIjrhRicqJ3SyLqm6fz9m%2Fimage.png?alt=media&amp;token=2c1848f3-dc8a-4897-9285-37396207803b" alt=""><figcaption></figcaption></figure>

#### File restore

To perform a File restore, take these notes into account:

* **File:** Select the File meta-directory on a virtual machine. This action launches a two-step restore.
* **Individual files:** Individual restore launches a one-step restore. To restore individual files from the full backup of a virtual machine stored on tape or disk, you must define a staging area where Tina can temporarily restore the VHD(X) files. To restore files stored on tape or disk, set these environment variables:
  * <kbd>TINA\_HPV\_RESTORE\_CACHE\_PATH</kbd>. Path of the staging area or directory, for example, c:\tmp\cache.
  * <kbd>TINA\_HPV\_RESTORE\_CACHE\_SIZE.</kbd> Size of the area that Tina can use, in GB. Tina cancels the restore if the directory does not exist or if the allocated space is insufficient.

#### Vault Restore

To perform a vault restore, take these notes into account:

* To restore several virtual machines in a single operation, you can only restore them to the same location, either the original location or a new location.
* When you select a virtual machine for a vault restore, open it to check that it contains objects to restore. In rare cases, the **Restore** interface may continue to display the virtual machine node, even if all its objects have been recycled.

## Restore a Hyper-V VM in file, vault, and disk mode

### Step 1: Select the VMs

1. In the navigation pane, click the **Restore** tab.

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-fe983106c5436f2df5542b18823b6295f20b4384%2Fimage%20(184).png?alt=media" alt=""><figcaption></figcaption></figure>
2. Select **Hyper-V virtual machines**. The restore wizard is displayed.

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-d983420dc1fc0016cbe22754a62c7ef3b480e783%2Fimage%20(183).png?alt=media" alt=""><figcaption></figcaption></figure>
3. You can change the date and times in the **"Protected before"** fields.
4. Choose **a strategy** and set a **maximum number of results.**
5. <mark style="color:blue;">By clicking «</mark> <mark style="color:blue;">**Show objects deleted since**</mark> <mark style="color:blue;">», you can display the virtual machines (VMs) that have been gone for X days.</mark>

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-a4da03521f10448590c2bc64ce57b7b17150f7e6%2Fimage%20(137).png?alt=media" alt=""><figcaption></figcaption></figure>
6. Click **Search**. The list of backed-up VMs is displayed.
7. Select the VMs to restore. Click the ![](https://docs.atempo.com/tina/4.9.4/en/tina-for-nutanix/Content/Resources/Images/Images_Topics_GVA/icon_instances.png) button to display the available instances (<mark style="color:blue;">Figure 8</mark>).

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-12bab7686434b0793e7cd56db52a9083c966b37d%2Fimage%20(105).png?alt=media" alt=""><figcaption><p><strong>Figure 8</strong>: VM Instances</p></figcaption></figure>
8. Select a recovery point and click **Set as search date.** The list of backed-up VMs is updated.

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-55d106b8a42322d07b9f788745d84818b53359cd%2Fimage%20(176).png?alt=media" alt="" width="543"><figcaption></figcaption></figure>
9. Select the VM and click **Next**.

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-c38455b103d6c21260234fbb8b30c57bc2daeff8%2Fimage%20(177).png?alt=media" alt=""><figcaption></figcaption></figure>
10. Enter the login credentials for the host to which the application is attached and click **Next**. Verifying authentication feasibility may take some time.

    <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-5c4517920cd60e962801f1faa085187959c18c2e%2Fimage%20(185).png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Define the restore modes and options

#### In Vault mode

1. Select **Vault Mode** to fully restore the virtual machine.

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-4d0d1b47f0b21938bcfb8d3920055bde631da055%2Fimage%20(186).png?alt=media" alt=""><figcaption><p><strong>Figure 9</strong>: Hyper-V VM restore modes</p></figcaption></figure>
2. Click **Next**.
3. Select the restore destination.

   1. **Original location:** Restore the VM or components to the infrastructure. This option is available if you are restoring a component of a VM.
   2. **Another location:** Enter a VM name in the text box.

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-af56b48b6fc03c9f274ee58c6a7c29ccdb8bab82%2Fimage%20(188).png?alt=media" alt=""><figcaption></figcaption></figure>
4. Select a restore option when the VM already exists:
   1. **Abort.**
   2. **Replace:** If a VM with the same name already exists, it will be replaced.
   3. **Automatically rename the VM (up to 9 attempts):** If a VM with the same name already exists, Tina will try to find a different name by adding a number to the name. If Tina cannot find a new name, the restore will fail.

      <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-d6b009aa3a9cadaf89a8ddc5d3b4788907cec2a3%2Fimage%20(179).png?alt=media" alt=""><figcaption></figcaption></figure>
5. Click **Start restore.**

> **Advanced options:**
>
> * **Specify how Tina should react if a component cannot be restored:**
>   1. Skip this component and continue with the others.
>   2. Cancel the entire restore operation.
>
>      <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-6644d9f23b6e09da8352e60d0895ec22a377c03b%2Fimage%20(182).png?alt=media" alt=""><figcaption></figcaption></figure>
> * **Specify what Tina should do if the cartridges required for the restore are not available:**
>   1. Issue a request to the operator to provide each cartridge.
>   2. Display the cartridges required for the restore. This will open a popup window that lets you select the required cartridges.
>   3. Cancel the restore operation. If you are restoring an entire VM to the virtualization infrastructure, you must either cancel the operation or bring the required cartridges online, since all components are needed.

#### In File mode

1. Select **File Mode,** choose **"Manual"** or **"Automatic"** mode, then enter the identity with which you mount the VM.

<figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-2a6dd3efe5c9d7d39e40d4bbb0af9f990d6a1488%2Fimage%20(190).png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**For automatic mode:**

* Your VM must be started.
* It is reserved only for small volumes where the restore throughput will be around 5 MB/s.
  {% endhint %}

3. Click **Next** to start mounting the VM.
4. Use the path or address that is displayed to access the virtual machine data.
5. Select an additional time value. Otherwise, just below this field, the time remaining before automatic unmounting is displayed. By default, it is **2 hours.**
6. Perform your restore and click **Close and Unmount** to complete the operation.

#### In partial disk mode

1. Select **Partial disk mode** to recover only the damaged disks of a virtual machine, without having to restore the entire VM.

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-4d0d1b47f0b21938bcfb8d3920055bde631da055%2Fimage%20(186).png?alt=media" alt=""><figcaption><p><strong>Figure 9</strong>: Hyper-V VM restore modes</p></figcaption></figure>
2. Click **Next**.
3. Select the restore destination

{% hint style="info" %}
Partial restore should not be confused with File Mode restore. Partial restore does not let you restore individual files or directories from the virtual machine's disk, but rather restore certain elements of the virtual machine.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/restore/hyper-v.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
