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

# Nutanix

## About the Tina Nutanix AHV agent

The Nutanix Acropolis Hypervisor (AHV) agent is an application that runs on a host configured as a Tina agent or server. It lets Tina back up and restore virtual machines from a Nutanix infrastructure. This can be useful for administrators who want to centralize backups without having to install a Tina agent on every virtual machine (VM).

This document contains all the information needed to create the Nutanix application to communicate with the virtualization infrastructure.

### Components

The Nutanix application consists of the following elements:

* A Generic Virtualization Agent (GVA).
* An adapter that lets the GVA communicate with the virtualization infrastructure.\
  The following diagram illustrates the mechanism (<mark style="color:blue;">Figure 1</mark>):

<figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2FWkacU5FKK27jV29Peohi%2Fimage.png?alt=media&amp;token=d164af79-07c2-4c87-984c-e1f27a8dfe87" alt=""><figcaption><p><strong>Figure 1:</strong> Tina architecture for Nutanix</p></figcaption></figure>

### Prerequisites

#### IP on the Nutanix cluster

For this to work, you must configure an IP on the Nutanix cluster for the ISCSI data services (<mark style="color:blue;">Figure 2</mark>).

<figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-2eac6de0c8579061f7f907e988f5bff53b845397%2Fimage%20(196).png?alt=media" alt="" width="431"><figcaption><p><strong>Figure 2</strong> : Cluster details 1: IP to configure. 2: IP address used for the Nutanix connection.</p></figcaption></figure>

#### Nutanix backup

For the Nutanix backup to work, you must install Python.

### Main features

The main features of the Tina Generic Virtualization Agent are:

* Full backup and restore of VMs (vault backup and restore).
* Incremental backup of virtual machines.
* Restore of individual components (e.g., a disk) from a VM to a file on the Tina agent.

### Tina Web Interface

The Tina Web Interface is available to configure the application and perform backup and restore operations.

## Configure the Nutanix AHV Agent application

The Nutanix application runs on a host configured as a Tina server or agent. No installation is required on either the virtualization infrastructure or the VMs.

**Step 1: Create the application**

1. In the navigation pane, click the **Agents** tab.
2. At the bottom of the page, click **Add a new agent.** The new agent configuration wizard is displayed.
3. Select **Declare a new application**, then choose **Nutanix virtualization agent.**
4. Click **Next**.
5. Enter the host name.
6. Choose the system host.
7. Select **Enabled** to enable the agent.
8. If needed, use a comment to describe the host.

**Step 2: Define the application settings**

1. Identify the virtualization server:
   1. Enter the name of the virtualization server (FQDN or IP address).
   2. Enter the virtualization user name. This user must have administrator privileges on the virtualization infrastructure.
   3. Enter and confirm the virtualization password.
2. Identify the host that runs the application:
   1. a. Enter the user name for the Nutanix environment.
   2. b. Enter the password.
3. Define the required environment variables. You can hover over a variable to see additional information.
4. If your Nutanix server listens on a port other than the default (9440), specify the port number in **Port number for communication between Time Navigator and the virtualization infrastructure.**
5. If needed, add optional environment variables. See also Environment Variables.
6. Click **Finish** to add the new agent.

### Best practices

You can use the editable setting <kbd>dtm\_default\_block\_size</kbd>, on the server, to improve performance during Nutanix backup and restore. If you do so, you must set this parameter to 4096. On the server, this setting affects all applications.

## Environment Variables

This list (Table 1) contains the required and optional environment variables supported by the Nutanix AHV agent.

**Table 1**: Supported environment variables

<table><thead><tr><th>Environment Variable</th><th width="263.3333740234375">Description</th><th>Status</th></tr></thead><tbody><tr><td><strong>TINA_APP_LIB_PATH</strong></td><td>Automatically filled in by Tina when the application is created.</td><td>Required</td></tr><tr><td><strong>TINA_GVA_NUTANIX_PROTOCOL</strong></td><td>Specifies the Nutanix protocol. The possible values (default) are <code>http</code> or <code>https</code>. If the protocol is set to <code>https</code>, you must also fill in the <strong>OS_CACERT</strong> variable with the path to the certificate file.</td><td>Required</td></tr><tr><td><strong>TINA_GVA_PORT</strong></td><td>If needed, specifies the port number for communication between Tina and the virtualization infrastructure.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_VIEW</strong></td><td>Specifies the display format of the VM list. The only value currently supported is the default <em>flat</em> format.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_FILTER_VM</strong></td><td>Selects only the VMs matching the given filter. By default, all VMs are selected. The format depends on the virtualization infrastructure; details are provided in each adapter's documentation.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_REQUEST_SHORT_TIMEOUT</strong></td><td>Specifies the maximum time allowed for the adapter to respond to a request expected to complete quickly (e.g., getting the VM list). Default value: 5 minutes.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_REQUEST_LONG_TIMEOUT</strong></td><td>Specifies the maximum time allowed for the adapter to respond to a request that may take longer (e.g., creating a snapshot). Default value: 2 hours.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_ADAPTER_SHORT_TIMEOUT</strong></td><td>Specifies the maximum time allowed for the virtualization infrastructure to respond to a request expected to complete quickly (e.g., getting the VM list). Default value: 30 seconds.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_ADAPTER_LONG_TIMEOUT</strong></td><td>Specifies the maximum time allowed for the virtualization infrastructure to respond to a request that may take longer (e.g., creating a snapshot). Default value: 10 minutes.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_ADAPTER_VERIFY_SSL</strong></td><td>Sets whether the adapter must enforce SSL verification, or ignore SSL errors. Values: <code>true</code>, <code>false</code>.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_CRYPTO_ENABLED</strong></td><td>Enables or disables encrypted communications with the adapter. Values: <code>yes</code> (default), <code>no</code>.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_AUTO_RENAME</strong></td><td>Enables automatic renaming of an existing VM or component during restore. Values: <code>0</code> (default), <code>1-999999</code>.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_VM_RESTORE_NAME</strong></td><td>Specifies the name of the restored VM. Default: original name.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_RESTORE_CACHE_PATH</strong></td><td>Specifies the cache directory for file restore. Value: path to a directory.</td><td>Optional</td></tr><tr><td><strong>TINA_GVA_VM_RESTORE_PATH</strong></td><td>Restores to a directory (not to the infrastructure). Default: original location.</td><td>Optional</td></tr></tbody></table>

## Backup

This chapter explains how to perform a backup using the Tina Nutanix AHV Agent. Full and\
incremental backups are supported.

### Configure the backup destinations

The first step in configuring a backup is to define a backup destination by adding a storage.

### Configure virtual machine backups

To configure a new backup, you must declare a backup strategy on the agent and define a backup selection and a schedule.

A strategy defines when Tina performs the backup of a system or an application. There can be up to 4 associated strategies, indicated by the letters **A, B, C,** and **D**.

Backup selections specify the directories to back up, as well as the time phases and conditions under which the directories are backed up. If no backup selection is defined, Tina cannot perform any backup.

To schedule backups, the strategy includes a scheduler for defining the day and time of full backups.

#### Backing up database applications

To protect applications running on VMs, you must make sure that:

* The application must be quiesced for the backup to succeed.
* Any restore will be a full restore of the VM. This is because the backup of a third-party database is a vault backup. This means that if you back up an Exchange server located on a VM, you cannot restore individual databases; you must restore the entire content of the VM. In addition, Exchange databases will not receive the information indicating that they have been backed up, so log truncation may become an issue. If you need such features, you should use the Tina application for Exchange Server to back up your Exchange server, or the Tina agent corresponding to your Windows database application.

#### Backup limitations

Before backing up a VM, check the following limitations:

* **VSS-compatible applications on virtual machines** The Nutanix environment only backs up the VM; it does not perform any specific action for VSS-compatible applications inside a VM.
* **Virtual machine templates** Backups of VM templates are not supported.
* **Synthetic backups** Synthetic backups are not supported.

{% hint style="info" %}
Before backing up data, make sure to use only letters (a-z), numbers (0-9) and supported characters (', \_, or -) in display names of any VMware vCenter Server or VMware ESXi objects (virtual machines, ESX, datastores, folders, files etc.). Display names should not contain special characters, such as %, &, \*, $, #, @, !, , /, :, ?, ", <, >, |, ;. This is to avoid issues when querying for the name in the vSphere Web Client interface.
{% endhint %}

### Perform a backup

Running backups does not require stopping the VM. In addition to the backup wizard that lets you schedule backups, you can manually start a backup at any time.

#### **Step 1: Create backup strategies**

1. In the navigation pane, click the **Agents** tab, then choose the Nutanix agent from the list.
2. In the **Strategies** column, click the + button (<mark style="color:blue;">Figure 3</mark>).

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2F3hlRSc6zffC05syUtjJU%2Fimage.png?alt=media&amp;token=92b47177-4413-4037-bbc9-94db9116d5f1" alt=""><figcaption><p><strong>Figure 3</strong>: New backup strategy</p></figcaption></figure>
3. In the wizard, choose a name and a strategy type based on the storage where you want to save the backups and click **Next**.
4. Select a retention pool for full backups and choose whether you want to add a **Full backup schedule** to define the backup frequencies (<mark style="color:blue;">Figure 4</mark>) :

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2FNnmOoPnn0BHjp4fQegn2%2Fimage.png?alt=media&amp;token=8f458886-fcdf-4108-9037-57d35740a1e0" alt=""><figcaption><p><strong>Figure 4:</strong> Full backup configuration</p></figcaption></figure>

   If you are backing up to tapes or virtual tapes with HSS deduplication, you can select **Enable synthetic full backup mode.** Then choose a strategy used to build the synthetic backup.
5. Repeat step 4 for the incremental backup configuration.

#### Step 2: Define the options

1. Define the **Parallelism index.** This allows the backup to run multiple backup sessions for the backup selection.
2. Select a data write format.
3. If needed, define other options.
4. If needed, configure the advanced options:
   1. Define the job priority.
   2. Define the behavior to adopt when a problem occurs during the backup.
   3. Specify a pre- and post-processing command that will be run before and after each backup task.
   4. For backups to tapes or virtual tapes with HSS deduplication:
      1. Choose additional pools for the full backup and the incremental backup.
      2. Choose whether the backup should continue even if one of the multiple write sessions fails.
5. Click **Finish**.

#### Step 3: Define the backup selections

Now that you have created a backup strategy, you must define backup selections and associate them with the appropriate strategies.

1. In the navigation pane, click the **Agents** tab. In the **Agent** list, you can apply filters (Configured, agent category) to easily locate the agent.
2. Click the agent to view and edit its details.
3. In the left-hand menu, select **Configuration > Backup Selections** (<mark style="color:blue;">Figure 5</mark>).

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2FWeuc4pEjuvjwKAWKzyjm%2Fimage.png?alt=media&amp;token=013517b6-6792-4da9-acfe-dcd24af2e487" alt=""><figcaption><p><strong>Figure 5</strong> : Add a new backup selection</p></figcaption></figure>
4. Click **Add a new backup selection**. The backup selection wizard is displayed.
5. Select the objects to protect. To browse the agent or the VM, enter the login credentials.
   1. **Browse the agent** A meta-tree is displayed showing the Virtual Machines node with the VMs available in the virtualization infrastructure (<mark style="color:blue;">Figure 6</mark>).

      > **Important**: If you cannot open the meta-tree from a Windows machine, and if you get the \_\_init\_iscsifailed error message, this means that the automatic startup of the ISCSI service failed. In this case, you must start it manually. If the problem persists, contact your system administrator.

      <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fnt54oSUeDFGtuGedoJCi%2Fimage.png?alt=media&amp;token=7f8f5d26-9bd2-4171-8319-c77184eeffe0" alt=""><figcaption><p><strong>Figure 6 :</strong> Meta-tree view</p></figcaption></figure>
   2. **Browse the VM** The VMs in the virtualization infrastructure are displayed as a simple list.
   3. **Add a path manually** Manually enter a backup path
6. Clear the strategies you do not want to use.
7. If needed, define other settings in the options and advanced options, such as filters, time phases, or properties.
8. Click **Finish** to validate the backup selection.

#### Step 4: Run the backup

If you have defined a backup schedule, Tina will launch the backups automatically.

1. In the navigation pane, click the **Agents** tab.
2. In the list of agents, choose the Nutanix agent and click the strategy name (e.g., ).
3. In the context menu, select full or incremental backup (<mark style="color:blue;">Figure 7</mark>).

   <figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2F3GqAcHGcj5cngMhex2c7%2Fimage.png?alt=media&amp;token=8fa52c8c-a1b7-47b5-8887-91114090822a" alt=""><figcaption><p><strong>Figure 7</strong>: Backup types</p></figcaption></figure>

<mark style="color:$info;">**About Nutanix**</mark>

* [<mark style="color:$info;">About the Tina Nutanix AHV agent</mark>](#about-the-tina-nutanix-ahv-agent)

<mark style="color:$info;">**Create the Nutanix agent**</mark>

* [<mark style="color:$info;">Configure the Nutanix AHV Agent application</mark>](#configure-the-nutanix-ahv-agent-application)

<mark style="color:$info;">**Back up Nutanix**</mark>

* [<mark style="color:$info;">Backup</mark>](#backup)

<mark style="color:$info;">**Environment Variables**</mark>

* [<mark style="color:$info;">Environment Variables</mark>](#environment-variables)


---

# 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/backup/nutanix.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.
