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

# Catalog

Catalog backup and restore is performed using the Tina Catalog application.

> **Note**: All catalog operations performed by the Catalog application can also be performed using the command line. For more information on the tina\_init and tina\_odbsave commands, see [Command Line](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/deployment/command-line.md).

## Catalog application

The Catalog application lets you back up the catalog content. It is created automatically when the catalog is created, and is named \<catalog\_name>.cat.

> **Note**: On macOS platforms, the root account must exist in order to use the Catalog application.

### Boot catalog

The catalog application copies the catalog to the backup media and creates a small meta-catalog: the Boot catalog. The boot catalog contains all the information needed to locate and restore the catalog backup.

The boot catalog is saved to disk, which makes it easier to access, in a directory named Boot in the Data.\<catalog\_name> directory. Boot catalog files are of the form: bootxxxx\_\<catalog\_name>.cod. With each new backup, the file number is incremented.

There is also a zipped archive in sidf format named Confxxxx\_\<catalog\_ name>.tn\_zip.sidf, for example, Conf0025\_catatest.tn\_zip.sidf). This archive contains the Conf directory with the catalog configuration and is located in the same place as the boot catalog:

* **Windows:** %TINA\_HOME%\Data \<catalog\_name>\Boot
* **Unix and macOS:** $TINA\_HOME/Data \<catalog\_name>/Boot

> **Note**: This archive contains the full path of the Conf directory. If you do not want to restore the entire Conf directory to its original location, you can provide the name of a destination directory to restore the Conf directory to a different location, then choose the files you want to restore. See [<mark style="color:blue;">Restore the catalog configuration.</mark>](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/restore/catalog.md#restore-the-catalog-configuration)

Using environment variables, you can send a copy of the boot catalog by email and perform a double backup (mirror) of the boot catalog. See [Available environment variables](#available-environment-variables).

The Catalog application is associated with a server. It is specific to a catalog, meaning it can only back up one catalog. However, you can create several Catalog applications within the same catalog, each intended to back up different catalogs, which lets you, in a multi-catalog environment, centralize the backup of all your catalogs into a single catalog.

### Possible configurations of the Catalog application

This image illustrates the possible configurations of the Catalog application:&#x20;

<figure><img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2FkpqLlYsK0mXe7WtEsSiQ%2Fimage.png?alt=media&amp;token=60197947-82f7-43c9-bb0e-98333b0450fc" alt=""><figcaption></figcaption></figure>

The Catalog application can be configured to address the following scenarios:

* **Catalog application A.** Backs up its own catalog.\
  The Catalog application is installed in the catalog it backs up.
* **Catalog application B.** Backs up another catalog located on the same server.\
  The Catalog application is not installed in the catalog it backs up, but in a catalog belonging to the same server.
* **Catalog application C.** Backs up a remote catalog.\
  The Catalog application is not installed in the catalog it backs up, but in a catalog installed on a different server.

## Backing up a simple catalog

Catalog backup is based on the same principles as the other Tina database backup applications (Oracle, Sybase, Microsoft SQL Server, etc.). A backup class is automatically positioned on the root meta-directory of the file tree when the application is created.

This default backup class has the following characteristics:

* It is associated with all backup strategies
* No filter is set
* No time slot is excluded
* The data format is uncompressed and unencrypted

Configuring the Catalog application's backups consists of defining:

* A backup strategy, to define the backup schedule.

> **Note**: The boot catalog is created after the backup job finishes. As a result, if post-processing is specified when defining the strategy, it will run before the boot catalog is created and therefore cannot perform operations on the boot catalog.

* A media set, to indicate where the backups are stored.

Once the application is created, you must define its environment variables and configure its automatic backup schedule.

### Setting the Catalog application's environment variables

To set the environment variables, automatic backups, and strategies, see [Editing the Catalog application](#editing-the-catalog-application).

### Result of the catalog backup

The Catalog application backup generates the following files:

* A bootxxxx\_\<catalog\_name>.cod file and a Confxxxx\_\<catalog\_ name>.tn\_zip.sidf archive in the Boot subdirectory of the Data.\<catalog\_ name> directory.
* If you have set the TINA\_SDB\_SAVE\_PATH variable, a savexxxx\_\<catalog\_ name>.cod file and a Confxxxx\_\<catalog\_name>.tn\_zip.sidf archive at the path defined in the environment variable.
* If you have set the TINA\_SDB\_MIRROR\_PATH variable, a copyxxxx\_\<catalog\_ name>.cod file and a Confxxxx\_\<catalog\_name>.tn\_zip.sidf archive at the path defined in the environment variable.
* If you have set the TINA\_SDB\_MAIL\_TO and TINA\_SDB\_MAIL\_SERVER variables, the bootxxxx\_\<catalog\_name>.cod file is sent as an attachment to the address specified by the TINA\_SDB\_MAIL\_TO variable.

## Manually triggering a backup

In addition to the Catalog application's automatic scheduled backups, you can manually trigger a backup.

> **Note**: A manual backup of the Catalog application always performs a full backup.

### Manually triggering the Catalog application's backup

1. In the Web Administration, expand your catalog in the Tina explorer.
2. Select Platforms Applications. The Applications pane opens.
3. Select the Catalog application.
4. Click the Launch backup button, then from the context menu, select Full backup and the strategy.
5. Click the Yes button in the confirmation window

## Creating a Catalog application

The Catalog application is created automatically, but you can also create one manually, for example, to back up another catalog or to back up a remote catalog).

### Creating a Catalog application

1. In the Web Administration, expand your catalog in the Tina explorer.
2. Select **Platforms > Applications.** The Applications pane opens.
3. Click the **New application button (+)**. The Application creation wizard opens.
4. Enter the parameters to create a Catalog application. This table describes the parameters you can configure in the Application creation wizard:

<table><thead><tr><th width="217.66668701171875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>System selection</strong></td><td>Select the system where the application will be installed.</td></tr><tr><td><strong>Application name</strong></td><td>Name of the application you want to create. This name can be changed later without losing the backups. Each application must have a unique name.</td></tr><tr><td><strong>Application type</strong></td><td>Type of application to create. Select <strong>Catalog</strong>.</td></tr><tr><td><strong>Comment</strong></td><td><em>(Optional)</em> Lets you enter a comment to describe the application being created.</td></tr><tr><td><strong>User name</strong></td><td>Name of the user who accesses the application.</td></tr><tr><td><strong>Password and Confirmation</strong></td><td><em>(Optional)</em> Lets you provide a password and confirm it.</td></tr><tr><td><strong>Optional environment variables</strong></td><td><p>To add an optional variable:</p><ol><li>Click <strong>Add > Add an optional environment variable.</strong></li><li>Select the variable in the Name column (see details in the Details tab).</li><li>Click <strong>Apply</strong> and <strong>Close</strong>.</li><li>Enter the value in the Value column (e.g., Optional (3/16)).Tip: hover over the name to see the info.Edit:</li><li>Click the value.</li><li>Enter the new value.Delete: Select the variable then click Delete.</li></ol></td></tr><tr><td><strong>User-defined environment variables</strong></td><td><p>Custom variable not present in the existing list.</p><p>To add one:</p><p>1. Click <strong>Add</strong> > Add a user-defined variable.</p><p>2. Enter the name in the <strong>Name</strong> column.</p><p>3. Enter the value in the <strong>Value</strong> column.</p></td></tr></tbody></table>

5. In the **Summary window**, check the parameters and click **Finish** to create the new Catalog application. The application list displays the new Catalog application.

### Available environment variables

This table describes the environment variables you can set for the Catalog application:

| Environment variable         | Possible values \[Default]           | Description                                                                                                                                                                                                                                                                                                     |
| ---------------------------- | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **TINA\_SDB\_BOOT\_HISTORY** | Integer \[7]                         | Maximum number of boot catalogs to keep. 0 means all files are kept. Also indicates the maximum number of mirror copies kept if the **TINA\_SDB\_MIRROR\_PATH** variable is set.                                                                                                                                |
| **TINA\_SDB\_CATALOG**       | Catalog name \[current catalog]      | Name of the catalog to back up.                                                                                                                                                                                                                                                                                 |
| **TINA\_SDB\_MAIL\_TO**      | Email address                        | Address where the boot catalog is sent (e.g., <admin@domaine.com>).                                                                                                                                                                                                                                             |
| **TINA\_SDB\_MAIL\_FROM**    | Email address \[<tina@atempo.com>]   | Address from which the boot catalog is sent.                                                                                                                                                                                                                                                                    |
| **TINA\_SDB\_HOME**          | Path \[$TINA\_HOME]                  | Installation directory of the catalog backup binaries.                                                                                                                                                                                                                                                          |
| **TINA\_SDB\_LIB\_PATH**     | Path                                 | **Unix only.** Path to the Tina software libraries.                                                                                                                                                                                                                                                             |
| **TINA\_SDB\_MAIL\_SERVER**  | Server name                          | Name of the mail server (SMTP).                                                                                                                                                                                                                                                                                 |
| **TINA\_SDB\_MIRROR\_PATH**  | Path                                 | Destination directory for the boot catalog's mirror copies. The maximum number of copies is determined by **TINA\_SDB\_BOOT\_HISTORY**. Tina automatically deletes the oldest copies when the limit is reached (except in special cases). On Windows, a network drive cannot be used for access rights reasons. |
| **TINA\_SDB\_RECOVER**       | \[Yes], No                           | <p>Restores the catalog backup and launches a <strong>tina\_init</strong>. Used only for a remote catalog. If:</p><ul><li><strong>Yes</strong>: restore + rebuild.</li><li><strong>No</strong>: restore only to the defined path without rebuilding.</li></ul>                                                  |
| **TINA\_SDB\_RESTORE\_PATH** | Path \[$TINA\_HOME/bin]              | Restore path for the odb file. Set this only if **TINA\_SDB\_RECOVER = No**.                                                                                                                                                                                                                                    |
| **TINA\_SDB\_SAVE\_EVENTS**  | \[Yes], No                           | Indicates whether the events and settings files are backed up with the catalog.                                                                                                                                                                                                                                 |
| **TINA\_SDB\_SAVE\_HISTORY** | Integer \[3]                         | Maximum number of catalog backup copies to keep. 0 = unlimited retention.                                                                                                                                                                                                                                       |
| **TINA\_SDB\_SAVE\_PATH**    | Path                                 | Destination directory for the backups on disk. On Windows, cannot target a network drive (access rights).                                                                                                                                                                                                       |
| **TINA\_SDB\_SERVICE\_NAME** | Service name \[current Tina service] | Use this if the catalog belongs to a service different from the current catalog.                                                                                                                                                                                                                                |
| **TINA\_SDB\_SKIP\_ INDEX**  | \[Yes], No                           | Set this variable to Yes if you do not want to back up the indexes. By default, the Catalog application backs up the indexes.                                                                                                                                                                                   |

## Editing the Catalog application

Editing the Catalog application lets you change the environment variables, automatic backups, and strategies.

**Editing the Catalog application**

1. In the Web Administration, expand your catalog in the Tina explorer.
2. Select Platforms Applications. The Applications pane opens.
3. Select the Catalog application (i.e., with the .cat extension) from the list.
4. Click the Application details button. The Application details window opens.
5. Configure the parameters in the Application details pane to edit the Catalog application. This table describes the parameters you can configure in the Application details pane:

<table><thead><tr><th width="205.66668701171875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Application name</strong></td><td>Name of the Catalog application with the <code>.cat</code> extension.</td></tr><tr><td><strong>Application type</strong></td><td><em>For information only.</em> The type is Catalog.</td></tr><tr><td><strong>System name</strong></td><td>System where the Catalog application is located.</td></tr><tr><td><strong>User name</strong></td><td>User who has access to the Catalog application.</td></tr><tr><td><strong>Password and Confirmation</strong></td><td><em>Optional.</em> Provide the user's password and confirm it.</td></tr><tr><td><strong>State</strong></td><td>Select the state of the Catalog application: <em>In service</em> or <em>Out of service</em>.</td></tr><tr><td><strong>Comment</strong></td><td><em>Optional.</em> Enter a comment to describe the Catalog application.</td></tr><tr><td><strong>Optional environment variables</strong></td><td><p>To add an optional variable:</p><ol><li>Click Add → Add an optional environment variable.</li><li>Select the variable in the Name column (see the Details tab).</li><li>Click Apply and Close.</li><li>Enter the value in the Value column (e.g., Optional (3/16)).Tip: hover over the name to display the info.Edit:</li><li>Click the value.</li><li>Enter the new value.</li></ol><p>Delete:</p><p>• Select the variable then click Delete.</p><p>See also: <a href="#available-environment-variables">Available environment variables</a>.</p></td></tr><tr><td><strong>User-defined environment variables</strong></td><td><p>Custom variable not present in the existing list.To add one:</p><ol><li>In the list, select the desired variable (<em>Important: remove the parentheses</em>).</li><li>Otherwise, the variable is not taken into account.</li><li>Enter the value in the Value column.</li></ol></td></tr><tr><td><strong>Strategies</strong></td><td>Lets you create, edit, delete, or import an existing strategy. See <a href="https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/getting-started/getting-started-with-tina/create-a-backup/create-a-backup-strategy.md">Create a Backup Strategy</a>.</td></tr><tr><td><strong>Backup selections</strong></td><td>Lets you create, edit, delete, or import a backup selection.Choose a strategy: for the Catalog application, there is no difference between full and incremental backup (all are full).Atempo recommendation: back up the catalog every day after the last job. See <a href="https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/getting-started/getting-started-with-tina/create-a-backup/create-a-backup-selection.md">Create a Backup Selection</a>.</td></tr></tbody></table>

6. Click **Apply** and Close.
7. Click the Yes button in the confirmation window to validate the changes to the Catalog application.

## Viewing the content of the Catalog application

The Web Administration cannot display the content of the Catalog application. You can view the content of the catalog backups using the Restore and Archive interface. It lets you view all boot catalog files and various other information.

### Viewing the content of the Catalog application

1. Depending on your operating system, launch the Restore and Archive interface. See [Restore](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/restore.md). The Restore and Archive interface opens.
2. Select Backup Application Login. The Application selection window opens.
3. Select the Catalog application and click **OK**. The login window opens.
4. Enter your credentials. The Restore and Archive interface displays the content of the Catalog application. This image illustrates the content of the Catalog application in the Restore and Archive interface:

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

### Content of the Catalog application

* The Information directory contains details about the catalog as well as the environment variables.
* The Boot catalog directory contains the boot catalog files as well as the values of the environment variables defining the directory path and history.
* The Catalog save on disk directory contains the disk copies of the catalog backup, if they exist, as well as the values of the environment variables defining the directory path and history.

> **Note**: You must set the <kbd>TINA\_SDB\_SAVE\_PATH</kbd> environment variable to use this feature.

* The Configuration directory contains the Adm and Conf directories and lets you back up their content.
* The Adm directory notably contains the events file, which can become very large. It is therefore recommended to define a specific backup class on the Adm directory that uses the same strategies as the class on the root, using the Compressed option. Similarly, if you do not want to back up the events file, define a class on the Adm directory and set an exclusion filter on the entire content of the directory (\*). For more information on backup class filters, see <mark style="color:blue;">Filter syntax</mark>.

If you do not want to back up events, you can also set the TINA\_SDB\_SAVE\_EVENTS variable to no. For more information on the parameters file and events, see <mark style="color:blue;">parameters.xml file</mark> in the Tina Installation Documentation and Events.

* The Index directory contains the indexes used to perform advanced searches among backed-up objects, for example, x2k\_index if you use the MS Exchange Single Object Restore feature.
* The Mirror boot catalog directory contains the files of the boot catalog's mirror copy, if it exists, as well as the values of the environment variables defining the directory path and history.

> **Note**: You must set the TINA\_SDB\_MIRROR\_PATH environment variable to use this feature.

* The catalog backup files.

## Backing up several catalogs on the same server

Using one catalog, you can back up either:

* **Locally**. Other catalogs located on the same server.\
  **Or**
* **Remotely**. A catalog located on another server.\
  To back up catalogs, you must create as many Catalog applications as there are catalogs to back up, and correctly set the appropriate environment variables.
* When you back up catalogs either locally or remotely, Tina does not create a boot catalog and does not display all directories in the Restore and Archive interface.
* If the TINA\_SDB\_SAVE\_PATH variable is set, a savexxxx\_\<catalog\_ name>.cod file and a Confxxxx\_\<catalog\_name>.tn\_zip.sidf archive are generated at the path defined in the environment variable.
* If the TINA\_SDB\_MIRROR\_PATH variable is set, a copyxxxx\_\<catalog\_ name>.cod file and a Confxxxx\_\<catalog\_name>.tn\_zip.sidf archive are generated at the path defined in the environment variable.

**Backing up several catalogs on the same server or a remote catalog**

1. Create a Catalog application for each catalog to back up. See [<mark style="color:blue;">Creating a Catalog application.</mark>](#creating-a-catalog-application)
2. Configure the appropriate environment variables. See [<mark style="color:blue;">Editing the Catalog application.</mark>](#editing-the-catalog-application)
3. Set at least these environment variables. Their values must be those of the catalog to back up:

   **Required variables.** <kbd>TINA\_SDB\_CATALOG</kbd>

   **Optional variables.** The following variables must only be filled in if their value for the catalog to back up differs from that of the catalog performing the backup:

   • <kbd>TINA\_SDB\_HOME</kbd>

   • <kbd>TINA\_SDB\_SERVICE\_NAME</kbd>

   • **Unix only.** <kbd>TINA\_SDB\_LIB\_PATH</kbd>
4. Repeat this operation until a Catalog application has been created for each catalog to back up.
5. Configure each Catalog application for backups. See [Editing the Catalog application.](#editing-the-catalog-application)


---

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