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

# Upgrading Tina

### What you will do

You will upgrade a Tina environment with minimal risk.

You will follow a strict order: **catalog backup → server upgrade → catalog restore (if necessary) → agent upgrades**.

### Upgrade rules (do not skip)

* Upgrades are supported from **version N to N+1** (based on the first two digits).
  * Example: `4.4.x → 4.5.x → 4.6.x`
* **An Agent's version must never be higher than the Server's version.**
  * Upgrade the **server first**.
  * Then upgrade **the agents**.
* Use the latest service pack for each intermediate step whenever possible.

{% hint style="info" %}
If you are upgrading a multi-catalog environment with LSM (Library Sharing Manager), upgrade the **storage node last**.
{% endhint %}

### Before you begin (planning checklist)

#### Disk space

* Free space in the installation directory: **≥ 3× the size of the installation file**.
* Free space for the catalog during the upgrade: **≥ current size of the catalog**.

Maximum catalog size (auto-extension capacity):

* Up to **`1024 Go`** for all agents on version **`4.2`** and later.

#### Compatibility

* Confirm OS + application compatibility in the **Compatibility Guide**.
* Confirm any CLI/configurable changes in the **Release Notes**.

See: [Compatibility Guide](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/version-information/compatibility-guide.md) and [Release Notes.](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/version-information/release-notes.md)

#### Licenses

Your existing `4.5.x/4.6.x` license generally remains valid for later `4.6.x` service packs.

If you use License Manager, keep it accessible during the upgrade.

### Back up each catalog (mandatory)

Do this **right before** launching the installer.

{% hint style="warning" %}
The admin console and the catalog must remain on the same version. Always take a catalog backup before any migration or restore operation.
{% endhint %}

{% stepper %}
{% step %}

#### Open a shell with the Tina environment

* **Windows:** Start → **Tina** → **Utilities** → **Command Line Interface**
* **Linux/Unix:** open a shell and become `root` (`su` or `sudo -s`)
* **macOS:** open Terminal and run `sudo -s`

On Linux/Unix/macOS, run Tina commands with the full path:

```
$TINA_HOME/Bin/<command>
```

{% endstep %}

{% step %}

#### Stop the Tina services

Run:

```
tina_stop
```

{% endstep %}

{% step %}

#### Back up the catalog with `tina_odbsave`

Choose one of these patterns:

* Create a default backup file in a destination folder:

```
tina_odbsave -catalog <catalog_name> -dir_dest <backup_folder>
```

* Create a backup file with an explicit name:

```
tina_odbsave -catalog <catalog_name> -file <full_path_to_cod>
```

Windows examples:

```
tina_odbsave -catalog mycatalog -dir_dest c:\savetina
tina_odbsave -catalog mycatalog -file c:\savetina\mycatalog.cod
```

{% endstep %}

{% step %}

#### Check the backup

* Confirm the `.cod` file exists in your backup location.
* Expect its size to be approximately **\~10% of the catalog size**.
* Check events/logs for catalog backup errors.

Linux/Unix note: exit the `répertoire $TINA_HOME/Bin` after the backup. Staying there can prevent the installer from running.
{% endstep %}
{% endstepper %}

### Special preparation (only if this applies)

#### Windows servers and agents: Universal CRT

If you are upgrading from Tina `4.6.0` or lower to `4.6.1+` on Windows:

* Install the **Windows 10 Universal C Runtime** update on each Windows server/agent.
* The Tina installer may prompt for it and install it via Windows Update.
* If Windows Update is blocked, install it manually first.

#### HyperVision agents using HyperVision Deduplication Storage (HVDS)

If you use HVDS as a destination:

* Check **HVDS version compatibility** with your target Tina version.
* Open the firewall ports (default when Tina `4.6.3+` with HVDS `4.1+`):
  * `8181/TCP` (deduplication engine admin console)
  * `23232/TCP` (Deduplication engine)

Additional ports for older HVDS (`4.0` or lower):

* `9080/TCP` (HTTP)
* `9443/TCP` (HTTPS)

If you are running Tina `4.6.3` with HVDS `4.0` or lower and you **do not use** the default ports:

* Add `force_hvds1=1` to:
  * Linux: `$TINA_HOME/Conf/hvdstnb.txt`
  * Windows: `%TINA_HOME%\Conf\hvdstnb.txt`
* Apply it to:
  * Tina Server
  * Each HyperVision proxy agent (VMware/Hyper-V)
  * Each gateway accessing HVDS

{% hint style="warning" %}
If you upgrade a HyperVision proxy to `4.6.3` with HVDS `4.1`, upgrade **all** HyperVision proxies using this HVDS. Otherwise, restores from older proxies (`4.6.2` or lower) may fail.
{% endhint %}

Limitations:

* Upgrading HVDS from `4.0` (or lower) to `4.1+` is not supported.
* In this scenario, use HVDS `4.1+` only from a fresh HVDS installation.

#### TCP connection encryption (admin data)

Tina supports three models:

1. **No encryption**: no special action during the upgrade.
2. **Encrypt only 4.6.2+ agents**: older agents can still connect without encryption.
3. **Encrypt all agents**: requires upgrading every agent to `4.6.2+`.

If you enable encryption, proceed in this order:

1. Decide which agents will be encrypted (option 2) and upgrade them to `4.6.2+`.
2. On the **upgraded** server (`4.6.2+`), generate the **NED certificate**.
3. Generate NED certificates on all upgraded agents (`4.6.2+`).
4. Enable encryption (option 2 or 3).

{% hint style="info" %}
You can enable encryption after the upgrade. The performance impact is generally negligible for admin traffic.
{% endhint %}

### Choose the right upgrade path

#### Tina 4.6.5 (or 4.6.x) → Tina 2020

Upgrade in two steps:

1. `4.6.5 → 4.6.6`
2. `4.6.6 → Tina 2020`

Always keep the catalog backup so you can rebuild after each step.

#### Tina 4.3 / 4.4 → Tina 4.6.x

Upgrade through supported jumps:

1. `4.3/4.4 → 4.5.x` (use the latest service pack)
2. `4.5.x → 4.6.x`

For each intermediate step:

1. Back up the catalog (`tina_odbsave`)
2. Upgrade the binaries
3. Restore the catalog (`tina_init`) if required by your scenario

### Upgrade the Tina Server (first)

Run the installer locally on the server.

Select **Upgrade** when the wizard asks for the operation.

{% hint style="info" %}
When you upgrade a Tina Server, the web interfaces are upgraded automatically.
{% endhint %}

{% tabs %}
{% tab title="Windows" %}
{% stepper %}
{% step %}

#### Launch the installer as Administrator

Log in as a local administrator.
{% endstep %}

{% step %}

#### Start the upgrade

1. Run the Windows setup (example format): `ATN463-PXXXX-Windows-X64.exe`
2. Select **Upgrade**
3. Select the products (typically **Tina** and **License Manager**)
4. Select **Server**
5. Review the summary and click **Install**
   {% endstep %}

{% step %}

#### Note the backup of previous binaries

The setup copies the previous `Bin` and `Conf` into:

* `%TINA_HOME%\TinaSave`
  {% endstep %}
  {% endstepper %}
  {% endtab %}

{% tab title="Linux / Unix" %}
{% stepper %}
{% step %}

#### Prepare the session

1. Set `DISPLAY` if you are using the graphical installer.
2. Log in as `root`.
   {% endstep %}

{% step %}

#### Start the upgrade

1. Run the Linux setup (example format): `ATN463-PXXXX-Linux-X64.bin`
2. Select **Upgrade**
3. Select the products (typically **Tina** and **License Manager**)
4. Select **Server**
5. Review the summary and click **Install**
   {% endstep %}

{% step %}

#### Note your custom environment variables

The setup copies the previous `Bin`, `Lib`, and `Conf` into:

* `$TINA_HOME/TinaSave`

The setup may also modify `tina.sh`.

If you had custom variables (example: `LD_LIBRARY_PATH` for Oracle/DB2), move them into:

* `Conf/tina.env.local`
  {% endstep %}
  {% endstepper %}
  {% endtab %}

{% tab title="macOS" %}
{% stepper %}
{% step %}

#### Launch the installer as administrator

Log in as an administrator, or use `sudo`.
{% endstep %}

{% step %}

#### Start the upgrade

1. Run the macOS setup:
   * GUI: `ATN463-PXXXX-OSX10.10-X64.dmg`
   * Silent: `ATN463-PXXXX-SILENT_BATCH.OSX10.10-X64.bin`
2. Select **Upgrade**
3. Select the products (typically **Tina** and **License Manager**)
4. Select **Server**
5. Review the summary and click **Install**
   {% endstep %}

{% step %}

#### Note the backup of previous binaries

The setup copies the previous `Bin`, `Lib`, and `Conf` into:

* `$TINA_HOME/TinaSave`
  {% endstep %}
  {% endstepper %}
  {% endtab %}
  {% endtabs %}

### Restore the catalog (when necessary)

You must restore a catalog when:

* Your upgrade path required a rebuild step.
* You performed intermediate upgrades (N → N+1) with catalog migration.
* You replaced a 32-bit server with a 64-bit server (see below).

#### Restore with `tina_init`

Example (Windows):

```
tina_init -catalog mycatalog -file c:\savetina\mycatalog.cod
```

Example (Linux/Unix/macOS):

```
$TINA_HOME/Bin/tina_init -catalog mycatalog -file /usr/savetina/mycatalog.cod
```

{% hint style="warning" %}
Keep the `.cod` file until the upgrade is fully validated. It is your way back (rollback).
{% endhint %}

### Upgrade the Tina agents (after the server)

Upgrade the agents only after the server is running the target version.

Use the same installation flow as for the server:

* Operation: **Upgrade**
* Installation type: **Agent**

Windows notes for remote deployment:

* Run the deployment tool from a **64-bit Windows machine**.
* All Windows machines involved must be in the same domain.
* The user performing the deployment must have admin rights on all target hosts.

### Optional: Linux persistent binding devices (tape/SAN stability)

After upgrading Tina on Linux, you can merge duplicate tape device paths.

This avoids device reordering issues after reboots or SAN events.

{% stepper %}
{% step %}

#### Open Tina administration

1. Open a shell with the Tina environment.
2. Run:

```
tina_adm
```

{% endstep %}

{% step %}

#### Merge identical tape connections

1. In the classic admin console, right-click the host.
2. Open **Advanced Device Manager**.
3. Select two entries sharing the same serial number.
4. Click **Merge two identical connections**.
5. Repeat for each drive.
6. Apply and close.
   {% endstep %}
   {% endstepper %}

### Special Migrations

#### 32-bit to 64-bit Server Migration

Use this flow when you need to replace a 32-bit server with a 64-bit build.

* Copy TINA\_HOME/Conf to a temporary folder outside the installation directory.
* Back up the catalog (tina\_odbsave) to a safe location outside the installation directory.
* Uninstall Tina (32-bit).
* Install Tina (64-bit) with the same environment name and ports.
* Overwrite the new Conf directory with your Conf.
* Restore the catalog (tina\_init).

#### 32-bit to 64-bit Agent Migration

The 32-bit to 64-bit Agent transition uses the same approach but does not require catalog operations.

#### vSphere Agent Migration to HyperVision Agent for VMware 4.4.2

The latest supported version for the legacy vSphere agent is .......

The recommended migration path is to deploy HyperVision Agent for VMware on a new machine.

* Permanently disable automatic backups for vSphere applications.
* Install HyperVision Agent for VMware on a dedicated host.
* Create new VMware applications and re-enable automatic backups.
* Keep the old vSphere agent throughout the entire retention period (backup restore security).
* After retention expiration, delete vSphere applications and uninstall the old vSphere agent.
* Do not run a vSphere agent and HyperVision Agent for VMware on the same host.

#### HSS Drive Reorganization After Upgrade (Tina 2020+ behavior)

If you upgrade the server and restore catalogs, Tina may reorganize the display of HSS drives.

**What Changes:**

* HSS storage is displayed as a SAN-type network object.
* Tina can split mixed SAN groups into dedicated SAN objects for HSS.
* Drives retain their names.
* Tina logs each move in the audit trail.

**Tina Creates a New SAN for HSS Drives When:**

* HSS drives share a SAN with non-HSS drives.
* HSS drives share a SAN but use different server/port/user credentials.
* HSS drives share a SAN but use different profiles.
* HSS drives use the same server/port/user but are distributed across multiple SANs.

**Naming Rule:**

The new SAN name is constructed from: HSS server + port + user\_1

If the name already exists, Tina adds a numeric suffix.

#### Validation After Upgrade

Do this every time:

* Log in to the Web Administration Console.
* Confirm that the catalog opens without errors.
* Check the status of hosts for a sample of agents.
* Execute a backup test.
* Execute a restore test (file-level is sufficient).
* Review the audit trail and event logs for upgrade-related errors.
* If anything appears abnormal, stop and revert using the catalog backup.

#### After Upgrade: Interface Changes You Should Know About

Tina offers modern interfaces:

* **Web Administration** (browser)
* **Admin App** (same functionality, no browser dependency)

Classic interfaces remain available. Use them only for features not yet present in Web Administration.

**Web UI Components**

**Browsers (for Web Administration)**

* Firefox
* Safari
* Microsoft Edge
* Chrome

**Always Required from Classic Interfaces**

Use the classic administration console or CLI for:

* Catalog editing/deletion (tina\_init)
* Offline cartridge with "Retry if mailbox full"
* Platform grouping by drag-and-drop
* Web UI alternatives: filters + cloning
* Task Viewer (global workload view)
* Security & Compliance Manager (tina\_scm)
* Library splitting and complete LSM workflows (tina\_lsm)
* Virtual libraries (Quantum/Grau DAS, IBM Library Manager, others)

**Preferences: Where Settings Have Moved**

Most preferences have moved to Web Administration:

* Settings, notifications, filters: catalog → Configuration
* License: catalog → License
* Service ports (TCP/UDP): catalog → Properties → advanced operations

**Known Limitations:**

* The Web interface SMTP server is configured only during installation.
* Adding authorized catalogs to an agent is not available in the Web interface or classic console.


---

# 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/deployment/upgrading-tina.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.
