> 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/vmware.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# VMware

These topics describe how to restore virtual machines (vault restore) or specific files from these virtual machines (file restores) using Tina for VMware:

* [<mark style="color:blue;">Restore prerequisites</mark>](#restore-prerequisites)
* [<mark style="color:blue;">Restore limitations</mark>](#restore-limitations)
* [<mark style="color:blue;">Restore rules</mark>](#restore-rules)
* [<mark style="color:blue;">Restore scenarios</mark>](#restore-scenarios)
* [<mark style="color:blue;">Command-line restore</mark>](#command-line-restore)

## Restore prerequisites

This table describes the prerequisites for restore with Tina for VMware:

<table><thead><tr><th width="201">Prerequisite</th><th>Description</th></tr></thead><tbody><tr><td><strong>Access rights for file restore</strong></td><td>To perform file restores, the virtual machines' users must be known to the Tina for VMware agent or to the gateway, if one exists. This will be the case for "network" users (Active Directory for Windows, NIS, LDAP, Kerberos for Linux). Otherwise, you must create the users on the Tina for VMware agent or on the gateway.</td></tr><tr><td><strong>File restore rights on Linux</strong></td><td><p>During file restores via the SFTP protocol, users are chrooted by default, i.e., they only have access to the VMDK files' mount point. To prevent users from being chrooted and let them access their home directory based on their rights:1. On the Tina for VMware agent, create the <code>atn_no_chroot</code> group with the <code>groupadd</code> command.2. Add each user manually with the <code>gpasswd</code> or <code>usermod</code> command.</p><blockquote><p><strong>Note:</strong> The <code>root</code> user is not chrooted and can browse the entire Tina for VMware agent.</p></blockquote></td></tr><tr><td><strong>vCenter user rights</strong></td><td><p>The role the vCenter user belongs to must have rights to back up and restore virtual machines.</p><p><strong>Automatically assign vCenter user rights to a role:</strong></p><ol><li>Launch the vCenter CBT Manager graphical tool.</li><li>Select <strong>Actions › Configure Role.</strong></li><li>Enter the role name.</li><li>Click <strong>OK</strong>.</li></ol><p>If the role does not exist, vCenter CBT Manager creates this role and assigns it the rights needed to back up and restore virtual machines.</p><p>If the role already exists, vCenter CBT Manager modifies the existing role and adds the rights needed to back up and restore virtual machines to it. No existing rights are removed.</p><p>See <a href="#vcenter-user-rights"><em><mark style="color:blue;">vCenter user rights</mark></em></a> for the list of rights.</p></td></tr><tr><td><strong>Vault restores of running virtual machines</strong></td><td>Restoring virtual machines while they are running is not supported. You must shut them down before performing vault restores.</td></tr><tr><td><strong>Vault restores of virtual machines to their original location</strong></td><td>No snapshot must be present on the virtual machine.</td></tr><tr><td><strong>Simultaneous</strong><br><strong>restores of Linux</strong><br><strong>virtual</strong><br><strong>machines in</strong><br><strong>File mode</strong></td><td><p>The more partitions/disks you have on the Linux virtual machines to restore at the same time, the more loop devices (<kbd>/dev/loop</kbd>) you need. Per virtual machine, the number of loop devices needed corresponds to the sum of the number of disks and the total number of partitions across all disks.</p><blockquote><p><strong>Note</strong>: Some Linux operating systems manage loop devices automatically, so you do not need to worry about the number of available loop devices.</p></blockquote></td></tr><tr><td><strong>File restores</strong><br><strong>on Linux</strong></td><td><ul><li><strong>Volume group names:</strong> Names must be unique. There must not be groups with an identical name in your Linux environment.</li><li><strong>Partitions:</strong> Only one partition must be active on a virtual machine disk.</li><li><strong>Bootloaders:</strong> The only supported program is GRUB.</li><li><p><strong>Logical Volume Manager:</strong> If you use LVM2 (Logical Volume Manager, version 2) on the virtual machine, it must meet these conditions:</p><ul><li>LVM2 must be installed on the HV for VMware proxy.</li><li>The path must contain /usr/sbin.</li><li>The virtual machine's volume group names must not exist on the HV for VMware proxy.</li><li>The FUSE (Filesystem in Userspace) libraries must be installed on the Linux machine. See <a href="#installing-the-fuse-libraries">installing the FUSE libraries </a>for more information.</li></ul></li></ul><blockquote><p><strong>Important</strong>: In the <kbd>fstab</kbd> and <kbd>grub</kbd> files, you must reference partitions using a UUID. Although you can also use paths or labels, this is not recommended. In addition, the /dev/disk/byid/&#x3C;partition_name> syntax is not supported for referencing partitions.</p></blockquote><ul><li><p><strong>System tools</strong>: The following system tools are required for the Tina for VMware agent or the gateway to run:</p><ul><li>mount / umount</li><li>vgs (lvm2)</li><li>vgchange (lvm2)</li><li>pvscan</li><li>losetup</li><li>lsblk</li><li>fsck</li><li>lvs</li><li>parted</li></ul></li><li><strong>Multiple virtual disks</strong>: To identify non-LVM2 partitions on a Linux virtual machine with several disks, use a Label or a UUID rather than a device name such as /dev/sd.</li><li><strong>Write rights</strong>: The Tina for VMware agent or the gateway must have write rights on the /home directory.</li><li><p><strong>Gnome automatic mount feature</strong>: Disable Gnome Automounting.</p><ol><li>Use <code>gsettings get org.gnome.desktop.media-handling automount</code> to check that the variable value is false.</li><li>If needed, use <code>gsettings set org.gnome.desktop.media-handling automount false</code> to set it to false.</li></ol></li></ul><p>You must set this variable to false for the user performing the restores.</p></td></tr><tr><td><strong>Automatic</strong><br><strong>file</strong><br><strong>restores</strong></td><td><ul><li>VMware Tools must be installed on the virtual machine. Atempo recommends installing the latest version of VMware Tools.</li><li>You must specify a vCenter (not an ESX) in the vCenter Server field of the HV for VMware application settings.</li><li>The virtual machine on which you want to restore the data (either the original or the destination one) must be started to perform the restores.</li></ul><h4>Linux</h4><ul><li>The virtual machine's file system must be one of the following: <kbd>ext2</kbd>, <kbd>ext3</kbd>, or <kbd>ext4</kbd>.</li><li>LVM2 (Logical Volume Manager, version 2) partitions are supported provided they have a single segment and that segment contains a single stripe. Otherwise, the LVM2 partition is ignored.</li></ul></td></tr><tr><td><strong>Express Restart</strong><br><strong>feature</strong></td><td><ul><li>The virtual machine to restart must have been backed up with <strong>HyperVision Deduplication Storage</strong> or <strong>Enhanced Disk Storage</strong> as the backup destination.</li><li>You must be connected to a vCenter.</li><li><p><mark style="color:red;">You need a Linux agent to use the Express Restart feature:</mark></p><ul><li><mark style="color:red;">If your proxy is a Windows machine, you must define a Linux gateway to be used as the Linux agent to use the Express Restart feature.</mark></li><li><mark style="color:red;">The NFS server must be configured and running on the Linux agent. The Express Restart feature requires exclusive use of the NFS server to guarantee there is no interference with the services used by the user of the NFS service or of the machine hosting the NFS server.</mark></li><li><mark style="color:red;">The FUSE (Filesystem in Userspace) libraries must be installed on the Linux agent.</mark></li></ul><blockquote><p><mark style="color:red;"><strong>Note</strong>: Not all Linux operating systems are compatible with Express Restart. For the most up-to-date information on supported operating systems, see</mark> <a href="broken://pages/JK6KtWVJfyhdqhmVkB5d"><mark style="color:red;">the Tina Compatibility Guide (in English)</mark> </a><mark style="color:red;">on the Atempo website.</mark></p></blockquote></li></ul></td></tr><tr><td><strong>Gateway used</strong><br><strong>for file restore</strong><br><strong>or</strong><br><strong>Express Restart</strong></td><td><p>Make sure the operating system version of the machine you are using as a gateway is supported. For the most up-to-date information on supported operating systems, see <a href="broken://pages/JK6KtWVJfyhdqhmVkB5d">the Tina Compatibility Guide (in English)</a> on the Atempo website.</p><ul><li><strong>Windows</strong>. The Windows gateway uses the Dokan tool, and the Dokan installation is not compatible with most anti-virus software (i.e., McAfee, Bitdefender). Therefore, there must be no anti-virus software installed on the machine you use as a Windows gateway.</li><li><mark style="color:red;"><strong>Linux</strong>. See</mark><a href="#restore-prerequisites"> <mark style="color:red;">Gateway prerequisites</mark></a> <mark style="color:red;">for more information on the components to install, uninstall, and disable for a Linux gateway.</mark></li></ul></td></tr></tbody></table>

## Restore limitations

Take these limitations into account before performing any data restore with Tina for VMware:

#### Vault restore

When you rename a virtual machine, the virtual machine name in the HV for VMware application no longer matches the virtual machine's file path. You must then perform a restore to a different location using the virtual machine's current name.

#### File restore

These limitations apply to automatic file restore and two-step file restore:

* File restore only supports virtual machine names in ASCII format. Virtual machine names must not contain accented characters. This is due to a VDDK limitation that does not support UTF8.
* **Windows**. File restore from a Resilient File System (ReFS) is not supported.
* **Linux**. File restore is not supported when no partition is created on the virtual machine.

#### Automatic file restore

* **Linux**. Automatic file restore under the root (<kbd>/</kbd>) of the Linux file system is not supported. Users must restore the file to a subdirectory, connect to the virtual machine, then manually move the file to <kbd>/</kbd>.

> **Note**: XDF (External File System) storage is now replaced by EDS (Enhanced Disk Storage).

#### Virtual machine storage policies

Virtual machine storage policies are not backed up. As a result, when you restore a virtual machine:

* Tina for VMware applies the default virtual machine storage policies if a virtual machine is recreated.
* Tina for VMware retains the existing virtual machine storage policies if an existing virtual machine is restored.

#### <mark style="color:blue;">Show objects deleted for X days</mark>

<mark style="color:blue;">By clicking «</mark> <mark style="color:blue;">**Show missing objects**</mark> <mark style="color:blue;">», you can display the virtual machines (VMs) that have been missing 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>

## Restore rules

Take these restore rules into account before performing any data restore with Tina for VMware:

### Restore test

The restore test lets you simulate a restore in your production environment. Atempo recommends performing this test regularly to make sure the "real" restore will go smoothly in the event of an incident. See the [<mark style="color:blue;">Tina Restore Documentation</mark> ](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/restore.md)for more information about the restore test.

### Rules for restore selections in the Restore and Archive interface

#### Vault restores

* If you want to restore several virtual machines at the same time, note that you can only restore them to the same location, either to their original location or to a new location.
* Only one virtual machine can be restored with a different name at a time.
* When you select a virtual machine to perform a vault restore, open the virtual machine's node to view the objects to restore. In rare cases, the virtual machine's node may still appear in the Restore and Archive interface even though all its objects have been recycled.

#### File restores

* If you want to perform a file restore, select the File meta-directory on a virtual machine.
* Linux virtual machines. Simultaneous file restores on the same Tina for VMware agent or on the same gateway for virtual machines with an identical volume group name are not supported.

#### Multiple restores

In a single instance of the Restore and Archive interface, the only simultaneous operations you can perform are vault restores of several virtual machines with the same destination type for all virtual machines (either to their original location, or to a new location for all virtual machines).

Other operations must be performed one after another, or in separate instances of the Restore and Archive interface, i.e., :

* You cannot perform several file restores in the same instance of the Restore and Archive interface.
* You cannot launch a vault restore and a file restore simultaneously on a single virtual machine. If this were the case, the Restore and\
  Archive interface would perform a vault restore.

### MAC address retention rules for vault restore

This table describes the MAC address retention rules for the machine for vault restore:

| Case                                                                            | Retention rule                                                                                                                  |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| **Vault restore to the original location**                                      | The machine's MAC address is retained.                                                                                          |
| **Vault restore to a different location with the same virtual machine name**    | The machine's MAC address is retained.                                                                                          |
| **Vault restore to a different location with a different virtual machine name** | The vSphere server assigns a new MAC address to the machine for each network card during the virtual machine's initial startup. |

## Restore scenarios

Before restoring, take into account the [<mark style="color:blue;">Restore prerequisites</mark>](#restore-prerequisites) and the [<mark style="color:blue;">Restore rules.</mark>](#restore-rules)

The restore scenarios available with Tina for VMware are as follows:

* [<mark style="color:blue;">Scenario 1: Restoring a virtual machin</mark>](#scenario-1-restoring-a-virtual-machine)<mark style="color:blue;">e</mark>
* [<mark style="color:blue;">Scenario 2: File restore</mark>](#scenario-2-file-restore)
* [<mark style="color:blue;">Scenario 3: Restarting a virtual machine with Express Restart</mark>](#scenario-3-restarting-a-virtual-machine-with-express-restart)
* [<mark style="color:blue;">Scenario 4: Restoring from a read-only HVDS copy</mark>](#scenario-4-restoring-from-a-read-only-hvds-copy)

### Scenario 1: Restoring a virtual machine

This scenario describes how to restore a virtual machine (vault restore) either to its original location or to a new location.

#### Prerequisites

In addition to the [Restore prerequisites,](#restore-prerequisites) these conditions must also be met:

* **Vault restores of running virtual machines.** Restoring virtual machines while they are running is not supported. You must shut them down before performing vault restores.
* **Vault restores of virtual machines to their original location.** No snapshot must be present on the virtual machine.
* **Simultaneous restores of Linux virtual machines.** The more\
  partitions/disks you have on the Linux virtual machines to restore at the same time, the more loop devices (<kbd>/dev/loop</kbd>) you need. Per virtual machine, the number of loop devices needed corresponds to the sum of the number of disks and the total number of partitions across all disks.

> **Note**: Some Linux operating systems manage loop devices automatically, so you do not need to worry about the number of available loop devices.

#### Limitation

When you rename a virtual machine, the virtual machine name in the HV for VMware application no longer matches the virtual machine's file path. You must then perform a restore to a different location using the virtual machine's current name.

#### Procedure

**Restore a virtual machine**

1. Open the **Restore and Archive interface for the HV for VMware application.**
2. Choose **Backup > Strategy** and choose the strategy used to back up the objects you want to restore.
3. In the tree, select the virtual machine you want to restore.
4. Choose **Tree > Selected Object > Versions**. The time versions window appears. It contains the list of backups.
5. Select one of the backups from the list and click **Synchronize**. The tree is updated. The list of objects needed for the restore is displayed.
6. Check the box next to the virtual machine to select it. This automatically selects all the files required for the restore.
7. Choose **Restore > Run.** The Restore window appears.

This image illustrates the Restore window:

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

8. Select the Transport Mode for the restore:

   • **Default**. The default transport mode for restore is SAN. Select this mode if you have Fibre Channel and iSCSI storage.

   • **LAN**. Restore transport mode equivalent to the NBD backup transport mode. Use this transport mode if your environment does not allow you to use SAN mode.

   • **LAN SSL**. Restore transport mode equivalent to the NBDSSL backup transport mode. Same as LAN, except that it is a secure mode.
9. Select the location where you want to restore the virtual machine. This table describes the location options:

<table><thead><tr><th width="187.666748046875">Location</th><th>Description</th></tr></thead><tbody><tr><td><strong>Restore to the original location</strong></td><td><p>1. Select the <em>Original location</em> option.</p><p>2. Click <strong>OK</strong>. The virtual machine is restored to its original location, i.e. to its original vCenter server and datastore.</p></td></tr><tr><td><strong>Restore to a new location</strong></td><td><p>1. Select the <em>New location</em> option, then select a resource pool either on the original ESX or on another ESX from the list below.</p><blockquote><p><strong>Note</strong> : For VMware, cross restoration restores a backed-up VMware VM to a different compatible VMware destination.</p></blockquote><p>2. Select a datastore as the restore destination from the list on the right.</p><blockquote><p><strong>Note:</strong> Read-only datastores attached to ESX servers are not displayed in the restore window.</p></blockquote><p>3. If needed, change the name of the virtual machine you want to restore using the <em>New virtual machine name</em> field.</p><blockquote><p><strong>Note:</strong> The new machine name must not contain the <code>@</code> character.</p></blockquote><p>4. Click OK. The virtual machine is restored to the new location you defined.</p></td></tr></tbody></table>

### Scenario 2: File restore

This scenario describes how to restore files.

> **Important**: To restore VMware virtual machines using the Web Admin Console, refer to the [Tina Web UI Getting Started Documentation.](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/tina-4.9.5-documentation.md)

#### Exposure and restore phases

File mode restore consists of these two phases:

1. **An exposure phase.** Exposing the backup content of the virtual machine to which you want to restore files. See [<mark style="color:blue;">Exposing the virtual machine's backup content</mark>](#procedures) for more information.
2. **A restore phase.** Restoring files to this virtual machine.

While the exposure phase is identical for all restore types, the restore phase depends on the operating system. This table describes four restore scenarios covering all cases:

<table><thead><tr><th width="149.66668701171875">Exposed VM OS</th><th width="147.33331298828125">HV for VMware OS</th><th>The restore is performed by…</th><th>See ...</th></tr></thead><tbody><tr><td><strong>Windows</strong></td><td>Windows</td><td>HV for VMware</td><td><mark style="color:blue;">Restoring Windows files with a Windows agent</mark></td></tr><tr><td><strong>Windows</strong></td><td>Linux</td><td>Gateway</td><td><mark style="color:blue;">Restoring Windows files with a Linux agent</mark></td></tr><tr><td><strong>Linux</strong></td><td>Linux</td><td>HV for VMware</td><td><mark style="color:blue;">Restoring Linux files with a Linux agent</mark></td></tr><tr><td><strong>Linux</strong></td><td>Windows</td><td>Gateway</td><td><mark style="color:blue;">Restoring Linux files with a Windows agent</mark></td></tr></tbody></table>

#### Prerequisites

In addition to the[ Restore prerequisites](#restore-prerequisites) (and more specifically Access rights for file restore and File mode restore rights on Linux), these conditions must also be met:

<table><thead><tr><th width="225">Prerequisites</th><th>Description</th></tr></thead><tbody><tr><td><strong>Volume group names</strong></td><td>Volume group names must be unique. There must not be volume groups with an identical name in your Linux environment.</td></tr><tr><td><strong>Partitions</strong></td><td>Only one partition must be active on a virtual machine disk.</td></tr><tr><td><strong>Bootloaders</strong></td><td>The only supported bootloader is <code>GRUB</code>.</td></tr><tr><td><strong>Logical Volume Manager</strong></td><td><p>If you use LVM2 (Logical Volume Manager, version 2) on the virtual machine, the Logical Volume Manager must meet these conditions:</p><ul><li>LVM2 must be installed on the HV for VMware application.</li><li>The path must contain <code>/usr/sbin</code>.</li><li>The virtual machine's volume group names must not exist on the HV for VMware application.</li><li>The FUSE (Filesystem in Userspace) libraries must be installed on the Linux machine. See <a href="#installing-the-fuse-libraries"><mark style="color:blue;">Installing the FUSE libraries</mark> </a>for more information.</li></ul><blockquote><p><strong>Important:</strong> In the <code>fstab</code> and <code>grub</code> files, you must reference partitions using a UUID. Although you can also use paths or labels, this is not recommended. In addition, the <code>/dev/disk/by-id/&#x3C;nom_de_partition></code> syntax is not supported for referencing partitions.</p></blockquote></td></tr><tr><td><strong>System tools</strong></td><td><p>These system tools are used by the Tina for VMware agent or the gateway and must be present to ensure it runs correctly:</p><ul><li><code>mount</code> / <code>umount</code></li><li><code>vgs</code> (lvm2)</li><li><code>vgchange</code> (lvm2)</li><li><code>pvscan</code></li><li><code>losetup</code></li><li><code>lsblk</code></li><li><code>fsck</code></li><li><code>lvs</code></li><li><code>parted</code></li></ul></td></tr><tr><td><strong>Multiple virtual disks</strong></td><td>When a Linux virtual machine has several virtual disks, Atempo recommends identifying non-LVM2 partitions either with a Label or a UUID, rather than with a device name such as <code>/dev/sd</code>.</td></tr><tr><td><strong>Write rights</strong></td><td>The Tina for VMware agent or the gateway must have write rights on the <code>/home</code> directory.</td></tr><tr><td><strong>Gnome automatic mount feature</strong></td><td><p>You must disable the Gnome automatic mount feature (Automounting):</p><p>1. Use the <code>gsettings get org.gnome.desktop.media-handling automount</code> command to check that the variable value is indeed <code>false</code>.</p><p>2. If needed, use the <code>gsettings set org.gnome.desktop.media-handling automount false</code> command to set the variable to <code>false</code>.</p><p>You must set this variable to <code>false</code> for the user account that performs the restores.</p></td></tr></tbody></table>

#### Limitations

Take these limitations into account before performing File mode restore:

* **File mode restore** only supports virtual machine names in ASCII format. Virtual machine names must not contain accented characters. This is due to a VDDK limitation that does not support UTF8.
* **Windows**. File restore from a Windows 2012 server duplicated by Microsoft is not supported.

#### Tape or disk as backup destination

You must set two environment variables if you want to perform File mode restores for virtual machines that were backed up to tape or disk:

* <kbd>TINA\_VCB\_LNX\_RESTORE\_CACHE\_PATH :</kbd> This variable represents the path of the directory on the Tina for VMware Linux agent or on the Linux gateway where the virtual machines will be copied.

  Or

  <kbd>TINA\_VCB\_WIN\_RESTORE\_CACHE\_PATH :</kbd> This variable represents the path of the directory on the Tina for VMware Windows agent or on the Windows gateway where the virtual machines will be copied.
* <kbd>TINA\_VCB\_RESTORE\_CACHE\_SIZE</kbd> : This variable represents the space in GB allocated to the directory specified with the TINA\_VCB\_WIN\_RESTORE\_CACHE\_PATH or TINA\_VCB\_ LNX\_RESTORE\_CACHE\_PATH variable.

#### Procedures

**Exposing the virtual machine's backup content**

1. Open the Restore and Archive interface for the HV for VMware application.
2. Choose Backup Strategy and choose the strategy used to back up the objects you want to restore.
3. In the tree, select the virtual machine containing the files you want to restore.
4. Choose Tree Selected Object Versions. The time versions window appears. It contains the list of backups.
5. Select one of the backups from the list and click Synchronize. The tree is updated. The list of objects needed for the restore is displayed.
6. Under the selected virtual machine, check the box next to the File meta-directory to select it.
7. Choose **Restore Run**. The Mount Information window for the restore appears. This image illustrates the Mount Information window for the restore:

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-50a68a29e1a94472dfd1be27dd38412e68d6148c%2Fimage%20(71).png?alt=media" alt=""><figcaption></figcaption></figure>
8. In the User Name field, enter the name of a user who has access to the virtual machine and to the data to restore.

   > **Note**: This user must be known to the machine performing the restore, either the Tina for VMware agent or the gateway.
9. Select the VDMK file to expose and click OK.

**Restoring Windows files with a Windows agent**

This procedure describes how to restore individual files when Tina for VMware and the virtual machines on which you want to restore files have the same Windows operating system.

**Exposure phase: Displaying the files to restore**

1. Expose the virtual machine's backup content as described in [<mark style="color:blue;">Exposing the virtual machine's backup content.</mark>](#procedures)
2. A new window appears. You can access the virtual machine's data via this path:
   1. Local path on the Tina for VMware agent: drive\_letter:\TINA\_HOME\vmdk\_repository\user\_name\virtual\_ machine.backup\_version\_number

      **Or**
   2. Remote CIFS access path: \Time\_Navigator\_HV\_Agent\_for\_VMware\mount\_point\virtual\_ machine.backup\_version\_number\\

**Restore phase: Accessing and copying the files to restore**

1. From the local path. On the Tina for VMware agent, navigate to the Local path. Your virtual machine's files are displayed.

   From the remote CIFS access path. From the Start menu of any Windows machine, choose Run and paste the remote CIFS access path, then click **OK**. Your virtual machine's files are displayed.
2. Browse the files and directories and perform your restore operations manually.
3. By default, the mount point remains available for 2 hours. Once this time has elapsed, the mount point is automatically unmounted and the window closes. If you need more time to perform your restore operations, you can set a new timeout value for closing the window:
   1. Select the number of hours (2, 4, 8, 24, or 48 hours) from the Additional Time Value drop-down list to specify the new timeout value for the window.
   2. Click the button located below the local path field or the remote CIFS access path field to change the window's closing timeout. The display of the time remaining before automatic unmounting is updated based on your choice.
4. When you are finished, click **Close** and **Unmount**.

**Restoring Windows files with a Linux agent**

This procedure describes how to restore individual files when Tina for VMware and the virtual machines on which you want to restore files do not have the same operating system: you want to restore Windows files with a Linux agent.

In this case, you need an additional machine, called a gateway, to either expose the virtual machine's content (HVDS) or hold the temporary cache directory containing the restore of the virtual machines (tape or disk).

**Exposure phase: Displaying the files to restore**

1. Expose the virtual machine's backup content as described in [<mark style="color:blue;">Exposing the virtual machine's backup content.</mark>](#procedures)
2. A new window appears. You can access the virtual machine's data via this path:
   1. Local path on the gateway: drive\_letter:\\<kbd>TINA\_HOME\vmdk\_repository\user\_name\virtual\_ machine.backup\_version\_number</kbd>

      **Or**
   2. Remote CIFS access path: <kbd>\gateway\mount\_point\virtual\_machine.backup\_version\_ number\\</kbd>

**Restore phase: Accessing and copying the files to restore**

1. **From the local path.** On the gateway, navigate to the Local path. Your virtual machine's files are displayed.

**From the remote CIFS access path.** From the Start menu of any Windows machine, choose Run and paste the remote CIFS access path, then click OK. Your virtual machine's files are displayed.

2. Browse the files and directories and perform your restore operations manually.
3. By default, the mount point remains available for 2 hours. Once this time has elapsed, the mount point is automatically unmounted and the window closes. If you need more time to perform your restore operations, you can set a new timeout value for closing the window:
   1. Select the number of hours (<kbd>2</kbd>, <kbd>4</kbd>, <kbd>8</kbd>, <kbd>24</kbd>, or <kbd>48</kbd> hours) from the Additional Time Value drop-down list to specify the new timeout value for the window.
   2. Click the button located below the local path field or the remote CIFS access path field to change the window's closing timeout. The display of the time remaining before automatic unmounting is updated based on your choice.
4. When you are finished, click Close and Unmount.

**Restoring Linux files with a Linux agent**

This procedure describes how to restore individual files when Tina for VMware and the virtual machines on which you want to restore files have the same Linux operating system.

**Exposure phase: Displaying the files to restore**

1. Expose the virtual machine's backup content as described in Exposing the virtual machine's backup content.
2. A new window appears. You can access the virtual machine's data via this path: Local path on the Tina for VMware agent:
   1. /home/atn\_mounted\_vmdk/user\_name/mount\_point

      **Or**
   2. Remote SFTP access path: sftp\://user\_name\@Time\_Navigator\_HV\_Agent\_for\_VMware/user\_ name/mount\_point

> **Note**: The remote SFTP access path syntax above only works with FTP clients such as Filezilla. If you are using a command window on a Linux or macOS machine, use this syntax: sftpuser\_name\@machine\_name /mount\_point

> **Important**: You must not launch several File mode restores at the same time and on the same proxy.

**Restore phase: Accessing and copying the files to restore**

1. From the local path. On the Tina for VMware agent, navigate to the Local path. Your virtual machine's files are displayed. From the remote SFTP access path. Launch an SFTP client that supports the SFTP protocol and enter the following information:
   1. The remote SFTP access path
   2. The user name
   3. The password. Start the connection. Your virtual machine's files are displayed.
2. Browse the files and directories and perform your restore operations manually.
3. By default, the mount point remains available for 2 hours. Once this time has elapsed, the mount point is automatically unmounted and the window closes. If you need more time to perform your restore operations, you can set a new timeout value for closing the window:
   1. Select the number of hours (2, 4, 8, 24, or 48 hours) from the Additional Time Value drop-down list to specify the new timeout value for the window.
   2. Click the button located below the local path field or the remote SFTP access path field to change the window's closing timeout. The display of the time remaining before automatic unmounting is updated based on your choice.
4. When you are finished, click **Close** and **Unmount**.

**Restoring Linux files with a Windows agent**

This procedure describes how to restore individual files when Tina for VMware and the virtual machines on which you want to restore files do not have the same operating system: you want to restore Linux files with a Windows agent.

In this case, you need an additional machine, called a gateway, to either expose the virtual machine's content (HVDS) or hold the temporary cache directory containing the restore of the virtual machines (tape or disk).

**Exposure phase: Displaying the files to restore**

1. Expose the virtual machine's backup content as described in Exposing the virtual machine's backup content.
2. A new window appears. You can access the virtual machine's data via this path:
   1. Local path on the gateway: /home/atn\_mounted\_vmdk/user\_name/mount\_point

      **Or**
   2. Remote SFTP access path: sftp\://user\_name\@gateway/user\_name/mount\_point

> **Note**: The remote SFTP access path syntax above only works with FTP clients such as Filezilla. If you are using a command window on a Linux or macOS machine, use this syntax: sftpuser\_name\@machine\_name /mount\_point Important: You must not launch several File mode restores at the same time and on the same proxy.

**Restore phase: Accessing and copying the files to restore**

1. From the local path. On the gateway, navigate to the Local path. Your virtual machine's files are displayed. From the remote SFTP access path. Launch an SFTP client that supports the SFTP protocol and enter the following information:
   1. The remote SFTP access path
   2. The user name
   3. The password. Start the connection. Your virtual machine's files are displayed.
2. Browse the files and directories and perform your restore operations manually.
3. By default, the mount point remains available for 2 hours. Once this time has elapsed, the mount point is automatically unmounted and the window closes. If you need more time to perform your restore operations, you can set a new timeout value for closing the window:
   1. Select the number of hours (2, 4, 8, 24, or 48 hours) from the Additional Time Value drop-down list to specify the new timeout value for the window.
   2. Click the button located below the local path field or the remote SFTP access path field to change the window's closing timeout. The display of the time remaining before automatic unmounting is updated based on your choice.
4. When you are finished, click **Close** and **Unmount**.

### Scenario 3: Restarting a virtual machine with Express Restart

This scenario describes how to restart a virtual machine in your production or test environment with the Express Restart feature directly from the HyperVision Deduplication Storage storage directory without having to perform a standard restore. This lets you, for example, quickly bring a damaged virtual machine back into service.

Administrators can search for virtual machines using the usual search feature in the Restore and Archive interface, and deleted virtual machines can also be exposed by clicking the Show missing files option in the Restore and Archive interface.

**Prerequisites**

In addition to the Restore prerequisites, these conditions must also be met:

* The virtual machine to restart must have been backed up with HyperVision\
  Deduplication Storage as the backup destination.
* You must be connected to a vCenter.
* <mark style="color:red;">You need a Linux agent to use the Express Restart feature:</mark>
  * <mark style="color:red;">If your proxy is a Windows machine, you must define a Linux gateway to be used as the Linux agent to use the Express Restart feature.</mark>
  * <mark style="color:red;">The parted utility must be installed on the Linux gateway.</mark>
  * <mark style="color:red;">The NFS server must be configured and running on the Linux agent. The</mark>\ <mark style="color:red;">Express Restart feature requires exclusive use of the NFS server to guarantee there is no interference with the services used by the user of the NFS service or of the machine hosting the NFS server.</mark>
  * <mark style="color:red;">The FUSE (Filesystem in Userspace) libraries must be installed on the Linux agent.</mark>

> **Note**: Not all Linux operating systems are compatible with Express Restart. For the most up-to-date information on supported operating systems, see the [Tina Compatibility Guide (in English) ](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/version-information/compatibility-guide.md)on the Atempo website.

#### Procedure

**Restarting a virtual machine with Express Restart**

1. Open the Restore and Archive interface for the HV for VMware application.
2. In the tree, select the virtual machine you want to restart using Navigation back in time.
3. Choose **Tree > Selected Object > Versions.** The time versions window appears. It contains the list of backups.
4. Select one of the backups from the list and click Synchronize. The tree is updated.
5. Check the box next to the virtual machine to select it. This automatically selects all the files required for the restore.
6. Choose **Restore > Run.** The restore window appears.
7. Set the Express Restart mode parameters to indicate where you want to restart the virtual machine in Express Restart mode. This image illustrates the Settings tab of the Restore window:

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

This table describes the parameters of the Settings tab:

<table><thead><tr><th width="209.6666259765625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Express Restart mode</strong></td><td><p>Select this option to enable Express Restart mode.</p><blockquote><p><strong>Note:</strong> This option is only available if the virtual machine was backed up to HVDS.</p></blockquote></td></tr><tr><td><strong>Restore destination</strong></td><td><p>The <em>New location</em> option is selected by default. Set the restore destination:</p><ul><li>Select a resource pool, either on the original ESX or on another ESX from the list on the left.</li><li>Select a datastore as the restore destination from the list on the right.</li></ul><blockquote><p><strong>Note:</strong> Read-only datastores attached to ESX servers are not displayed in the restore window.</p></blockquote></td></tr><tr><td><strong>New virtual machine name</strong></td><td><p>Enter a name for the new virtual machine you want to restart in Express Restart mode.</p><blockquote><p><strong>Note:</strong></p><p>• The new virtual machine name must not contain the <code>@</code> character.</p><p>• You can use the same name as the virtual machine to restart, provided the virtual machine no longer exists in the vCenter.</p></blockquote></td></tr></tbody></table>

8. Set the Express Restart mode behavior to indicate the behavior Tina adopts when the virtual machine is restarted in Express Restart mode. This image illustrates the Behavior tab of the Restore window:

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

This table describes the parameters of the Behavior tab:

<table><thead><tr><th width="201.66668701171875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Restart and migrate</strong></td><td><ul><li>Creates and starts the virtual machine.</li><li>Waits for VMware Tools to restart.</li><li>Migrates the virtual machine to the previously selected datastore.</li></ul></td></tr><tr><td><strong>Restart test</strong></td><td><ul><li>Creates and starts the virtual machine.</li><li>Waits for VMware Tools to restart.</li><li>Shuts down and deletes the virtual machine. This option can be useful if you want to test virtual machine restarts to check for a data integrity issue on HyperVision Deduplication Storage. This option can also be used to perform disaster recovery tests.</li></ul></td></tr><tr><td><strong>Disable networks</strong></td><td>Disables the network interface on the virtual machine before restarting it to avoid conflicts with an existing virtual machine.</td></tr><tr><td><strong>VMware Tools timeout (in seconds)</strong></td><td>Specifies the wait time for VMware Tools to restart. The default value is 120 seconds. If VMware Tools does not restart within the specified time interval, the virtual machine is migrated or shut down and deleted anyway. If VMware Tools restarts before the specified time interval, the virtual machine is migrated or shut down and deleted right after VMware Tools restarts.</td></tr></tbody></table>

#### Optional configuration file

If the virtual machine you want to restart contains a large database, it may be useful to change the size of the memory cache used to read the VMDK content.

You can create or edit an optional configuration file named avfs.conf, located in the <kbd>$TINA\_HOME/Conf</kbd> directory, to change the default value for the number of blocks for the memory cache. Note that each block is 1 MB.

**Creating or editing the avfs.conf configuration file**

1. Add the parameter

   <kbd>--aln\_cached\_blocks</kbd> to specify the number of blocks for the memory cache (one item per line):

   <kbd>--aln\_cached\_blocks \<number\_of\_blocks></kbd>

   > **Note**: The default value is 600 (600 MB). For large databases, increase the value to 2048 (2 GB) or more.

   For example, if <kbd>avfs.conf</kbd> contains these parameters:

   <kbd>--aln\_cached\_blocks 1024</kbd> 1024 memory cache blocks will be set.
2. Add the <kbd>--tmp</kbd> parameter to specify the temporary directory (the default temporary directory is <kbd>/tmp</kbd>):

   <kbd>--temp \<directory\_path></kbd>

   For example, if <kbd>avfs.conf</kbd> contains these parameters:

   <kbd>--temp/opt/tmp</kbd>

The temporary directory will be <kbd>/opt/tmp.</kbd>\
See[ <mark style="color:blue;">Express Restart</mark> ](#command-line-express-restart)for more information on how Express Restart works.

### Scenario 4: Restoring from a read-only HVDS copy

This scenario describes how to perform a restore from a read-only HVDS copy.

If the primary HVDS is unavailable for restore, the administrator can use a secondary HVDS (read-only copy) for restore operations only.

This HVDS copy is read-only and therefore cannot be used as a new destination for future backup jobs.

#### Prerequisite

Before restoring from a read-only HVDS copy, you must first stop all active backups and all future automatic backups on the primary HVDS.

**Stopping all active backups and all automatic backups on the primary HVDS**

1. From the Tina Web Admin, check that no backup job (using HVDS as the backup destination) is active.
2. From the Tina Web Admin, select Platforms Applications and disable the HV for VMware applications associated with the primary HVDS.
3. From the Tina Web Admin, select Data Management Strategies, then select the strategies associated with the HV for VMware applications and check the Temporarily disable schedules option in the Properties tab of the deduplication storage Strategy Details window.

#### Procedure

**Restoring from a read-only HVDS copy**

1. From the Tina Web Admin, select Backup Destinations Deduplication Sets and edit the Deduplication Set properties to reference the deduplication storage of the HVDS copy.
2. Perform the restore.

> **Note**: Once the restore is complete, remember to edit the Deduplication Set properties to reference the original deduplication storage to ensure backup continuity.

See the [Lina administration documentation](https://documentation.atempo.com/lina-7.4/) for more information about the Atempo-Deduplication Engine administration console.

## Command-line restore

If you want to restore a virtual machine's data in command-line mode, you must run the <kbd>tina\_restore</kbd> command with the <kbd>-xml\_restore\_parameters\_file.</kbd> parameter. This parameter lets you provide an XML file containing restore-specific information.

> **Note**: The syntax and general parameters of the <kbd>tina\_restore</kbd> command are described in detail in the Tina Command Line Interface documentation. Only the parameters specific to Tina HyperVision for VMware are covered in this topic.

You can perform these restore operations in command-line mode:

### Command-line vault restore

Here are examples of XML files to restore a virtual machine either to its original location or to a different location.

**Example 1: Restoring a virtual machine to its original location with the same name.**

```xml
<?xml version="1.0" encoding="UTF-8" ?>
<VMWareNgaRestoration version="1.0">
  <RestorationConfiguration>
    <MonoVM>
      <TransportMode code="1" />
      <path>esx1</path>
      <path>respool1</path>
    </MonoVM>
  </RestorationConfiguration>
</VMWareNgaRestoration>
```

**Example 2: Restoring a virtual machine to a different location with a different name and with a different datastore.**

```xml
<?xml version="1.0" encoding="UTF-8" ?>
<VMWareNgaRestoration version="1.0">
  <RestorationConfiguration>
    <MonoVM newName="newtiny">
      <TransportMode code="1" />
      <DatastoreMap name="[Datastore 222]" newname="[NewBigData]" />
      <DatastoreMap name="[datastore1]" newname="[Datastore 222]" />
      <path>esx1</path>
      <path>respool1</path>
    </MonoVM>
  </RestorationConfiguration>
</VMWareNgaRestoration>
```

The <kbd>DatastoreMap</kbd> name field lets you replace a source datastore with a destination datastore. The new name in the newname field will then replace the name in the name field (which was the datastore name at the time of the backup) to create the VM.\
Several source datastores can be replaced by the same destination datastore.

**Example 3: Restoring a virtual machine to a different location with a**\
**single datastore.**

```xml
<?xml version="1.0" encoding="UTF-8" ?>
<VMWareNgaRestoration version="1.0">
  <RestorationConfiguration>
    <MonoVM newName="newVmName">
      <TransportMode code="1" />
      <DatastoreMap name="[*]" newname="[newDS]" />
      <path>DestEsxFQDN</path>
      <path>DestFolder</path>
    </MonoVM>
  </RestorationConfiguration>
</VMWareNgaRestoration>
```

This syntax lets you restore a virtual machine and all associated VDMK to a single destination datastore without knowing the virtual machine's location.

> **Note**: If you specify more than one datastore in the DatastoreMap name field, the destination datastore associated with \[\*] is ignored.

### Command-line Express Restart

Here are examples of XML files to restart a virtual machine directly from the storage directory.\
The values of the ExpressRestart field can be one of the following:

* <kbd>Migrate</kbd> : corresponds to the Restart and migrate option. Once the virtual machine is started (or after a set delay), it is migrated to an ESX datastore.
* <kbd>RestoreAndPowerOff :</kbd> corresponds to the Restart test option. Once the virtual machine is started (or after a set delay), it is powered off and deleted.

**Example 1: Restarting a virtual machine directly from the storage**\
**directory with the Restart and migrate option.**

```xml
<?xml version="1.0" encoding="UTF-8" ?>
<VMWareNgaRestoration version="1.0">
  <RestorationConfiguration>
    <MonoVM datastore="DSTORE1" newName="ExpressRestart01">
      <path>esx1</path>
      <path>App</path>
      <ExpressRestart value="Migrate" />
    </MonoVM>
  </RestorationConfiguration>
</VMWareNgaRestoration>
```

The virtual machine is migrated to the DSTORE1 datastore.

**Example 2: Restarting a virtual machine directly from the storage**\
**directory with the Restart test option.**

```xml
<?xml version="1.0" encoding="UTF-8" ?>
<VMWareNgaRestoration version="1.0">
  <RestorationConfiguration>
    <MonoVM datastore="DSTORE1" newName="ExpressRestart02">
      <path>esx1</path>
      <path>App</path>
      <ExpressRestart value="RestoreAndPowerOff" />
    </MonoVM>
  </RestorationConfiguration>
</VMWareNgaRestoration>
```

## Additional information

These topics provide additional information about Tina HyperVision Agent for\
VMware:

* [HV for VMware application environment variables](#hv-for-vmware-application-environment-variables)
* [vCenter user rights](#vcenter-user-rights)
* [Installing the FUSE libraries](#installing-the-fuse-libraries)
* [Network ports](#network-ports)

### HV for VMware application environment variables

This table describes the HV for VMware application environment variables:

| Environment variable                      | Possible values \[default]         | Description                                                                                                                                                                                                                                           | State    |
| ----------------------------------------- | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `_JAVA_OPTIONS`                           | `-Xmx1536m`                        | Java engine options. Lets you increase the amount of RAM used by Java processes. If the HV for VMware application reports a lack of memory, increase this value. **Syntax:** `_JAVA_OPTIONS=-Xmx<TAILLERAM>m`, where `<TAILLERAM>` is the size in MB. | Optional |
| `TINA_APP_LIB_PATH`                       | `libtina_ngavmw.so`                | Path or name of the dynamic library used by HV for VMware.                                                                                                                                                                                            | Required |
| `TINA_VCB_AUTO_CBT_ACTIVATION`            | `[yes]`, `no`                      | Automatically enables CBT (Change Block Tracking) during full VM backups.                                                                                                                                                                             | Optional |
| `TINA_VCB_FILTER_VM`                      | `[ALL]`, Windows, Linux, Other     | Displays only virtual machines belonging to the specified OS family.                                                                                                                                                                                  | Optional |
| `TINA_VCB_FORCE_RESTORE_ON_PROXY`         | `yes`, `[no]`                      | Forces the restore on the proxy.                                                                                                                                                                                                                      | Optional |
| `TINA_VCB_GATEWAY`                        | Character string                   | Name of the gateway used during file restores between different operating systems.                                                                                                                                                                    | Optional |
| `TINA_VCB_JAVA_CACHE_VALIDITY`            | Seconds `[20]`                     | Validity duration of vCenter objects in the cache.                                                                                                                                                                                                    | Optional |
| `TINA_VCB_IGNORE_PRESCRIPT_LOGIN_ERROR`   | `yes`, `[no]`                      | Ignores login errors when running pre-scripts and continues the backup without running the scripts.                                                                                                                                                   | Optional |
| `TINA_VCB_IGNORE_VM_WITHOUT_VMDK`         | `yes`, `[no]`                      | The backup does not end in error when a VM has no disk.                                                                                                                                                                                               | Optional |
| `TINA_VCB_LNX_RESTORE_CACHE_PATH`         | Path                               | Directory used to restore VMs in file mode on Linux (tape or disk).                                                                                                                                                                                   | Optional |
| `TINA_VCB_PORTNUM`                        | `2000-65535`                       | Local Java port used to communicate with Tina vSphere Java Server. It is recommended to use the same port for all applications using the same vCenter account.                                                                                        | Required |
| `TINA_VCB_READ_ALLOCATED_BLOCKS_ONLY`     | `[yes]`, `no`                      | For *thin* or *thick lazy* VMDKs, reads only allocated blocks to speed up the backup. **Requires CBT.**                                                                                                                                               | Optional |
| `TINA_VCB_REMOVE_EXISTING_SNAPSHOT`       | `[yes]`, `no`                      | Automatically removes existing backup snapshots.                                                                                                                                                                                                      | Optional |
| `TINA_VCB_RESTORE_CACHE_SIZE`             | GB                                 | Cache size (in GB) of the directory defined by `TINA_VCB_WIN_RESTORE_CACHE_PATH` or `TINA_VCB_LNX_RESTORE_CACHE_PATH`.                                                                                                                                | Optional |
| `TINA_VCB_SCRIPT_TIMEOUT`                 | Integer `[60]`                     | Maximum wait time (seconds) for pre- and post-snapshot scripts.                                                                                                                                                                                       | Optional |
| `TINA_VCB_SNAPSHOT_CREATION_WAIT`         | Integer `[900]`                    | Maximum wait time (seconds) for creating a snapshot.                                                                                                                                                                                                  | Optional |
| `TINA_VCB_TAG_FILTER`                     | `category:tag`                     | Backs up only VMs that have this tag.                                                                                                                                                                                                                 | Optional |
| `TINA_VCB_TRANSPORT_MODES`                | `[san]`, `nbd`, `nbdssl`, `hotadd` | Defines the transport mode used for VMware backups. Several modes can be specified, separated by `:` (e.g. `san:nbd`).                                                                                                                                | Optional |
| `TINA_VCB_USE_ONLY_SNAPSHOT_WITH_QUIESCE` | `yes`, `[no]`                      | On Linux, if a snapshot with quiesce cannot be created, the backup is stopped.                                                                                                                                                                        | Optional |
| `TINA_VCB_VDDK_PATH`                      | Path                               | Path of the VDDK to use. If several versions are present, Tina automatically chooses the one matching the vCenter version.                                                                                                                            | Optional |
| `TINA_VCB_VIRTUAL_HOSTS`                  | `vm_name`                          | List of VMs used as proxy, separated by commas (maximum one VM per ESX).                                                                                                                                                                              | Optional |
| `TINA_VCB_VISUAL_CACHE_UPDATE`            | `[yes]`, `no`                      | Updates the vCenter object cache for restore and archiving.                                                                                                                                                                                           | Optional |
| `TINA_VCB_VM_CREATION_WAIT`               | Integer `[900]`                    | Maximum wait time (seconds) for creating a VM.                                                                                                                                                                                                        | Optional |
| `TINA_VCB_VMS_AND_TEMPLATES_MODE`         | `yes`, `[no]`                      | Enables the vCenter inventory's **VM and Templates** mode. Use a separate application from the one running in **Hosts and Clusters** mode.                                                                                                            | Optional |
| `TINA_VCB_WIN_RESTORE_CACHE_PATH`         | Path                               | Directory used to restore VMs in file mode on Windows (tape or disk).                                                                                                                                                                                 | Optional |
| `TINA_VMWARE_CONFIG_FILE`                 | Path to a configuration file       | Lets you define VMware settings in an external file (useful in particular with Windows user names containing accented characters).                                                                                                                    | Optional |
| `VMWARE_SSL_PORT`                         | `[443]`                            | TCP port used to communicate with VMware. It is not recommended to change this value except for a specific configuration.                                                                                                                             | Optional |
| `VMWARE_SSL_THUMBPRINT`                   | `SSLTHUMBPRINT`                    | SHA-1 fingerprint of the vCenter SSL certificate. Required with VDDK 6.x.                                                                                                                                                                             | Optional |

### vCenter user rights

The role the vCenter user belongs to must have the following rights to back up and restore virtual machines:

* Datastore.AllocateSpace
* Global.DisableMethods
* Global.EnableMethods
* Global.GlobalTag
* Global.Licenses
* Global.ManageCustomFields
* Global.SetCustomField
* Global.SystemTag
* InventoryService.Tagging.AttachTag
* InventoryService.Tagging.CreateCategory
* InventoryService.Tagging.CreateTag
* InventoryService.Tagging.DeleteCategory
* InventoryService.Tagging.DeleteTag
* InventoryService.Tagging.EditCategory
* InventoryService.Tagging.EditTag
* InventoryService.Tagging.ModifyUsedByForCategory
* InventoryService.Tagging.ModifyUsedByForTag
* InventoryService.Tagging.ObjectAttachable
* Network.Assign
* Resource.AssignVMToPool
* VirtualMachine.Config.AddExistingDisk
* VirtualMachine.Config.AddNewDisk
* VirtualMachine.Config.Annotation
* VirtualMachine.Config.ChangeTracking
* VirtualMachine.Config.DiskLease
* VirtualMachine.Config.RemoveDisk
* VirtualMachine.Config.Resource
* VirtualMachine.Config.Settings
* VirtualMachine.GuestOperations.Execute
* VirtualMachine.GuestOperations.Modify
* VirtualMachine.GuestOperations.Query
* VirtualMachine.Inventory.Create
* VirtualMachine.Provisioning.AllowVirtualMachineDownload
* VirtualMachine.Provisioning.DiskRandomAccess
* VirtualMachine.Provisioning.DiskRandomRead
* VirtualMachine.Provisioning.GetVmFiles
* VirtualMachine.State.CreateSnapshot
* VirtualMachine.State.RemoveSnapshot
* VirtualMachine.State.RevertToSnapshot

> **Note** :
>
> * You must define all these rights at the vCenter server level.
> * These are internal rights, and therefore they vary from one vCenter to another depending on its language and version.

See vCenter user rights in [<mark style="color:blue;">Backup prerequisites</mark>](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/backup/vmware.md#backup-prerequisites) for more information on automatically assigning these rights with the vCenter CBT Manager graphical tool.

Datacenter element search limitations

Tina is unable to distinguish elements with identical names in the meta-directory.\
When performing a tina\_find operation, Tina could confuse a VM and a resource pool.

### Installing the FUSE libraries

This topic applies only to Linux systems.\
You must install the FUSE (Filesystem in Userspace) libraries for your operating\
system to perform file restores and use the Express\
Restart feature.

**Installing the FUSE libraries on redhat distributions**

Enter this command to install the FUSE libraries on redhat:\ <kbd>yum install fuse-libs</kbd>

### Network ports

Tina uses various ports to connect to hardware, virtual systems, and networks. This topic describes the network ports and their connection directions.

**Tina Web Admin, Web Restore, Reports & Statistics interfaces, and REST API**

Connection from the web monitoring system to the Tina server and Tomcat server over http or https:

* <kbd>25080/TCP</kbd>

```
Inbound on the Tina server, outbound on the monitoring machine.
```

```
Configurable during installation, from the Web Admin interface,\
or with a configuration file.
```

**Backup and restore with Tina's classic interfaces, the API, and the**\
**command-line interface (CLI)**

Connection between the Tina server and the Tina agent:

* <kbd>2525/TCP</kbd>\
  Inbound and outbound on the agent as well as on the server.\
  Configurable during the Tina installation program and from the Web\
  Admin Interface.
* <kbd>2526/UDP</kbd>\
  Inbound on the server, outbound on the agent.\
  Configurable during the Tina installation program and from the Web\
  Admin Interface.

Agent-to-agent connection (communication between storage nodes, for example):

* <kbd>2525/TCP</kbd>\
  Inbound and outbound on both agents.\
  Configurable during the Tina installation program and from the Web\
  Admin Interface.

> **Note** : Bidirectional TCP Port mode can be avoided by using Tunnel mode. In this case, it is no longer the agent that reconnects to the server, but rather the server that connects to the agent and reverses the network flow to return to the original data transfer situation from the agent to the server. This mode is an advantageous alternative to the backup tutor option, which remains available. In this case, TCP port 2525 must be opened outbound on the Tina server. For more information about Tunnel mode, see the [Tina Administration Documentation.](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/tina-4.9.5-documentation.md)

**Tina Backup and Restore (SIDF, remote Mover for transfer)**

Connection from the Tina agent to the Tina storage node:

* Dynamic TCP port or rem\_dtm\_data\_TCP\_num. Inbound on the storage node, outbound on the Tina agent. Configurable with the port number parameter <kbd>rem\_dtm\_data\_TCP\_num</kbd> on the storage node.

> **Note**: You can change the connection direction by setting <kbd>rem\_dtm\_ reverse\_connexion=yes</kbd> on the Tina agent. The storage node then connects to the agent. This is available whether or not Tunnel mode is used, and strongly recommended in Tunnel mode.

Connection from the Tina storage node to the Tina agent:

* Dynamic TCP port or <kbd>rem\_dtm\_data\_TCP\_num</kbd>. Inbound on the Tina agent, outbound on the Tina storage node. Configurable with the port number parameter <kbd>rem\_dtm\_data\_TCP\_num</kbd> on the Tina agent.

**Synthetic duplication and SIDF**

Connection from the Tina server to the destination storage node:

* Dynamic TCP port or synth\_data\_TCP\_num. Outbound on the Tina server, inbound on the destination storage node. Configurable with the port number parameter synth\_data\_TCP\_num on the destination storage node.

**Tina License Manager**

Connection from the Tina server to the Flex license server (if the server is not Tina):

* Between 27000/TCP and 27009/TCP by default, configurable in the license files. Inbound on the Flex server, outbound on the Tina server. Port configurable in the atempo.lic files (server and vendor).

Connection between internal FlexNet daemons:

* Dynamic TCP port. Port configurable in the atempo.lic files (server and vendor).

**Tina HyperVision for VMware backup**

Connection from the Tina agent (VMware proxy or gateway) to the ESX server or vCenter server:

* 443/TCP Inbound on the ESX or vCenter server, outbound on the agent.

Connection from the Tina agent (VMware proxy or gateway) to the ESX server:

* 902/TCP Inbound on the ESX server, outbound on the agent.

> **Note** : Port 903 is no longer necessary.

**Configuration wizard (HSS drive configuration)**

Bonjour service on the Tina server:

* <kbd>5353/UDP</kbd>\
  Inbound on the Tina server.

**Tina HSS drive to use ADE deduplication**

Connection from the Tina agent to the ADE server: for the Tina HSS drive:

* <kbd>23232/TCP</kbd>

Inbound on the ADE server, outbound on the Tina agent.\
Configurable during ADE installation, and from the ADE GUI or CLI. For Tina,\
in the HSS drive file, from the GUI.

**HVDS storage directory to use ADE deduplication**

Connection from the Tina agent to the ADE server: for the HVDS storage directory:

* <kbd>23232/TCP</kbd>

Inbound on the ADE server, outbound on the Tina agent.\
Configurable during ADE installation, and from the ADE GUI or CLI. For Tina, in\
the HVDS storage directory file, from the GUI.

> **Note** : Tina agents must be version 4.6.3 or higher and HVDS version 4.1 or higher. Otherwise, you must open ports 9080 (connection from the Tina agent to the ADE server over http) and 9443 (connection from the Tina agent to the ADE server over https). \\

**ADE server Web Admin interface**

Connection from the Web Monitoring machine to the ADE server:

* <kbd>8181/TCP</kbd>

Inbound on the ADE server, outbound on the Web Monitoring machine.\
Configurable during ADE installation, and from the ADE GUI or CLI.

**Lina agent**

Connection between the graphical user interface agent and the Lina agent:

* <kbd>27261/TCP</kbd>

Inbound and outbound on the Lina agent.\
Generally used for local communications, but can also be used\
remotely.

**HyperVision Proxy Server Flows for VMware**

The proxy is a Tina agent, so it uses the agent-server flows as well as flows to VMware. These flows are used for backup and restore.

<table><thead><tr><th width="128.66668701171875">Source</th><th width="150">Destination</th><th width="202">Port</th><th>Purpose</th></tr></thead><tbody><tr><td>Proxy</td><td>vCenter / ESXi</td><td>443/TCP</td><td>VMware API (HTTPS)</td></tr><tr><td>Proxy</td><td>ESXi</td><td>902/TCP</td><td>Data transfer (NBD / NBDSSL modes)</td></tr><tr><td>Proxy</td><td>Tina server</td><td>2525/TCP</td><td>Agent-server communication ¹</td></tr><tr><td>Proxy</td><td>Tina server</td><td>2526/UDP</td><td>Agent-server communication</td></tr><tr><td>Proxy</td><td>ADE / HVDS</td><td>23232/TCP</td><td>Deduplication (Tina 4.6.3+ and HVDS 4.1+) ²</td></tr><tr><td>Proxy</td><td>Storage node</td><td>Dynamic or <code>rem_dtm_data_TCP_num</code></td><td>Data transfer ³</td></tr></tbody></table>

¹ This flow is bidirectional. In tunnel mode, the Tina server opens the connection to the proxy.\
² HVDS 4.0 or earlier uses 9080/TCP (HTTP) or 9443/TCP (HTTPS).\
³ In reverse connection mode, the storage node opens the connection to the proxy.


---

# 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/vmware.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.
