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

# Appendix A - Perform Advanced Operations

This chapter explains how to perform various configuration operations concerning:

* ADE index database.
* ADE blocks repositories.

## Move an existing Agent Database Repository

Moving an agent database repository does not remove the source repository. Once agent database repositories have been moved, and no new repository is added, Lina continues using the old repository for the incoming new agent.

To move an existing repository contents:

1. Stop the Deduplication Engine service (by default `ADE.default`).
2. Launch the command:

   ```bash
   ade_server -L "src=<sources>,dest=<destination>,set_as_default=[0|1],vol_max=<size in bytes>"
   ```

   Where:

   * `<sources>` is the list of repositories to be moved. If not provided, move all existing repositories.
   * `<destination>` is the list of destination repositories.
   * `<set_as_default>` is `0` if the source repositories remain to be used as agent database repositories. Otherwise, set the destination as the new agent database repository.
   * `<vol_max>` keeps moving agent database repositories until the limit is reached (optional).
3. Restart the Deduplication Engine service.

## Atempo-Deduplication Engine Command Line Interfaces

Two Atempo-Deduplication Engine command line interfaces enable you to modify various parameters:

* `ade_admin`: Contains commands to manage the HyperStream Server and graphical interface from the command line interface.
* `ade_server`: Contains commands concerning the HyperStream Server and requires to stop the Atempo Dedup Engine service.

### Launching the ade\_admin Interface

1. On the machine hosting the Atempo-Deduplication Engine:
   * **Windows**: Select `Start > Programs > Atempo-Deduplication Engine > Administration`.
   * **macOS/Linux**: Launch the `./ade_admin` command.
2. Connect as superadmin. If you do not provide any login credentials, you will be logged as guest, in read-only mode.
3. To launch the Command Line Interface with a different user, run the `./ade_admin -u username` command. You are prompted to enter the password for this user.
4. To see help for more details about `ade_admin` commands, enter the following commands:

   ```bash
   root@semaphore:/DT/local/Dedup/Bin# ./ade_admin
   password:
   hyperstream:23232> help
   ```

### Accessing the ade\_server command

**Windows**

On the machine hosting the Atempo-Deduplication Engine:

* Select `Start > Run` and enter `cmd` in the Open field. In the `bin` directory of the HyperStream installation directory, launch the `ade_server` command with the option you require.

**Linux**

* Launch the `./ade_server` command with the option you require.

{% hint style="warning" %}
You must stop the Atempo-Deduplication Engine service prior to making any modifications through the `ade_server` interface. The service name is `ADE.default` unless you modified the default name when you installed the product.
{% endhint %}

### Main Command Line Configuration Operations

{% hint style="warning" %}
Do not delete any block files from the repository as they may be needed for restore operations.
{% endhint %}

#### Add or remove a Repository

A repository is primarily used for future block files. If you remove a repository that already contained block files, the data backed up remains in the repository unless you move the existing block files.

{% hint style="warning" %}
Do not manually move the block files. Otherwise, HyperStream Server loses track of these files.
{% endhint %}

Adding or removing a repository can also be performed by modifying an environment variable in the ADE administration interface. See Manage Tunables for details.

#### Change the Service Port

To modify the port on the HyperStream Server, you must:

* Change the port for all Tina HyperStream drives in order to restore data from the clients. See Configure Tina for HyperStream Server.
* Restart the ADE administration interface.

{% hint style="warning" %}
If a server is replicated or mirrored onto another server, it is not possible to change the server port number. If you do, the replication will fail.
{% endhint %}

Check the following overview of the ports used by HyperStream Server (Table 23).

| TCP port | Tunable      | Protocol                         | Description                                                                            |
| -------- | ------------ | -------------------------------- | -------------------------------------------------------------------------------------- |
| 23232    | `tcp.port`   | Proprietary                      | Port used by the agent to back up and restore and the `ade_admin` tool                 |
| 8181     | `httpd.port` | HTTP/HTTPS (automatic detection) | Port used by the Administration interface, for replication and by the `ade_admin` tool |

*Table 23: HyperStream Server ports*


---

# 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/deduplication/appendix-a.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.
