> 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/lina-7.4/lina-7.4-en/administration-guide/getting-started/configuring-agents-on-the-server.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Configuring agents on the server

This chapter describes the settings and various steps required to protect data on the server, such as declaring the agent or creating the protection policy, as well as the configuration steps (with or without the backup wizard).

## Configuring protection policies on the server

Configuring protection policies on the server includes the following steps:

1. **Declaring agents**: this step can be done automatically, but by default it is in manual mode. In automatic mode, when an agent is installed on a machine, that machine is displayed in the server's Lina Administration Console. See [<mark style="color:blue;">Declaring new agents</mark> ](#declaring-new-agents)for more details on switching to automatic creation.
2. Applying a protection policy to agents. The protection policy includes:
   1. A protection schedule that defines the data to protect.
   2. A strategy that defines the protection settings.

> **Tip**: Predefined protection schedules and strategies are available on the server. You can use them as they are, modify them, or create new ones.

Predefined items are grayed out in the Administration Console.

## Declaring new agents

Once Lina agents are installed, you must add them in the Administration Console on the server. When an agent is added in the Administration Console, you can set the agents' default settings and configure protection by applying a protection schedule and a strategy.

You can add Lina agents in two ways:

* By enabling the **Agent auto-creation** option. This option cannot be disabled in a multi-server configuration.
* By [<mark style="color:blue;">declaring them manually</mark> ](#declaring-new-agents)in the agent list.

**To open the agent list in the Lina Administration Console**

\> To open the agent list, go to **Agents**.

### Automatically creating Lina agents

The **Automatically create agents** option lets you:

* Automatically add all Lina agents associated with the server to the **Lina Administration Console** as soon as an agent installation is detected.
* Apply default settings to define how agents are protected. The settings include a protection schedule and a strategy for agents.

**To enable automatic creation of Lina agents and set default settings**:

1. Open the Administration Console.
2. Go to **Agents**.
3. Click the <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-303204bd20b20ae0f817555441a993a18200bf06%2Fimage%20(201).png?alt=media" alt="" data-size="line"> button above the agent list.
4. In the **Automatic declaration** tab, enable the **Automatically create agents** option.

Newly discovered agents are automatically added to the declared agents list. For more information on automatically adding new agents to tenants, see [<mark style="color:blue;">Automatically adding new agents to tenants.</mark>](#automatically-adding-new-agents-to-tenants)

### Manually creating Lina agents

In the Lina Administration Console, you can manually add agents to the list of agents to protect. Once they are declared in the list, you can apply a protection schedule and strategy to each of them individually.

1. Log in to the Lina Administration Console with administrator privileges.
2. Open the **Agents** view.
3. Select a tenant at the top of the page.
4. Click the ![](https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-c1033eb877a9e0dfab5d03d4f97d7875f4fd9c01%2Fimage%20\(64\).png?alt=media) button. The new agent information window appears (<mark style="color:blue;">Image 14</mark>).

   <figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-e29110bc1de3e107c6d9589cc222c07c62631c27%2Fimage-10.png?alt=media" alt=""><figcaption><p><strong>Image 14</strong>: New agent settings</p></figcaption></figure>
5. Enter the name of the Lina Agent you want to declare, or select an agent from the list of agents that have been installed but not yet declared.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>When declaring a macOS agent whose default name is "user's Mac", we recommend selecting the agent from the list rather than typing its name. If you type it, note that the apostrophe in "user's" is a typographic apostrophe (unicode 2019, UTF-8 E2 80 99), not the keyboard apostrophe (0x27).</p></div>
6. (Multi-server only) Select the node in which the agent will be created.
7. Select an agent group.

   By default, agents inherit the protection and strategy defined for their agent group. Agents can have their own protection and strategy if they belong to the default agent group (**No protection inheritance**).

   You can also add an agent to an agent group in the agent groups list.
8. Select the protection schedule to apply to your agent.

   You can also create a new protection by selecting the **+** button, or view information about this protection by clicking the pencil icon.
9. Select the strategy to apply to your agent.

   You can also create a new strategy by selecting the **+** button, or view information about this strategy by clicking the pencil icon. Your agent inherits the strategy selected for its agent group.
10. Select an update policy.

    You can create an update policy or use the default update policy used by agents of one or all tenants. To create an update policy, see [<mark style="color:blue;">Setting up automatic updates for Lina agents.</mark>](#setting-up-automatic-updates-for-lina-agents)
11. (Optional) Select a label to apply to the agent. A label can be used to highlight a characteristic shared by several agents (a location, for example).
    1. To select an existing label, click in the label field and enter a label name. Click the automatically suggested label to apply it to the agent.
    2. To create a label, click in the label field and enter a label name. Select a label color, then click the **+** button. The label is automatically applied to the agent.
12. Click **Create** to finish declaring the agent.

    <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>If you did not select a group for the agent, it is added to the <strong>No protection inheritance</strong> group.</p></div>

### Automatically adding new agents to tenants

To automatically add new agents to a tenant:

1. Open the Administration Console.
2. Go to the **Agents** list.
3. Click the button above the agent list, then click **Incoming agents.**
4. In the **Automatic assignment** tab, click the **Add automatic assignment** option.
5. Set the automatic assignment settings:

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p><strong>Important</strong>: The order in which settings are entered matters. It corresponds to the priority order in which they are applied.</p></div>

   1. **Select the setting** used to assign the agent to a tenant. Agents are added to a tenant based on the agent name, the agent's IP address, its system category, or its Windows domain. The agent name can be a machine name or a fully qualified domain name (FQDN).
   2. **Enter a string value** for the setting.
   3. **Specify the tenant** that will contain the agent. This field may not appear if you do not have multiple tenants.
   4. **Specify the agent group** that will contain the agent, or select **No protection inheritance**.
   5. **Specify the protection and strategy** to apply to the agent.
6. Click **Save.**

## Configuring SMB/NFS network share backup and restoring data

The configuration below lets you back up the entire network share (step 1) and also lets you exclude certain folders from the backup, if needed (step 2).

### Prerequisites

* Certain packages must be installed before running the Lina server installer.

For a command-line installation using silent mode, run the following commands to install the required packages:

* **Debian-based distributions:**

  ```
  apt-get update && apt-get install -y --no-install-recommends cifs-utils nfs-common
  ```
* **RPM-based distributions:**

  ```
  yum update && yum install cifs-utils nfs-commons
  ```
* Install or update a Linux 7.1 server.
* Install a Linux 7.1 Agent on the Lina server.

This agent is not intended to back up its own local data, but will provide access to data located on the network share(s) (a single agent is enough, regardless of the number of shares to back up). You can therefore disable the Atempo Lina service on this agent using the <kbd>systemctl</kbd> command, or simply not provide a server name during installation.

* Python 3 must be installed on the Lina server with at least the following modules:

<kbd>os, shutil, json, subprocess, shlex, signal, base64, threading, copy, logging, requests, urllib3, socket, traceback, ConfigObj</kbd>

### Step 1: Back up the entire network share

1. Open the **Lina Administration Console** and go to the **Agents** tab.
2. Click **+**, then **Create SMB/NFS network share**.
3. Enter the information provided below:

> **Note**: This list is not exhaustive. If you cannot find certain settings in the list provided, keep the default values for those settings.

The information to provide varies depending on the protocol chosen:

* **Name** (free text).
* **Protocol**. The following versions are supported:
  * **SMB/CIFS**: versions 3.0, 2.1, and 2.0.
  * **NFS**: NFSv3.
* **Shared folder**, for example:
  * **SMB/CIFS**: `\\fully_qualified_machine_name\folder`.
  * **NFS**: `server:/share`.
* **(SMB/CIFS only)**: network share connection information:
  * **Domain**.
  * **User**.
  * **Password**.
* **Protection**:
  * Network shares - Free protection of the entire share / Protected by default.
* **Strategy**:
  * Network shares - Default strategy - Scheduled (8 PM - 7 AM).

4. Click **Create**.\
   The agent appears in the list with Unknown status, then, after a few minutes, the agent's information appears.\
   The backup starts.
5. Open the agent's card by clicking the agent.\
   New information has appeared.

   > **Note**:\
   > The default strategy has time slots that only allow backups to run during the 8 PM - 7 AM window. The network share backup will therefore only run during that time frame.\
   > To back up the network share outside the default time slot, make a copy of the default strategy, select the time slot of your choice, then select that strategy in the agent's card. For more information on creating a strategy, see [Creating a data protection strategy.](#creating-a-data-protection-strategy)

   <figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-0f09267882a872b4edc4d6a3b84fe8e041402e53%2Fetape-1.png?alt=media" alt=""><figcaption></figcaption></figure>
6. Note the connection port number used for the remote agent.\
   In the previous screenshot, the port number used as an example is **27200**. You will need it for the next step or to perform restores.

### (Optional) Step 2: Exclude folders from the backup on the agent

1. Open a Lina Agent interface.
2. Go to **Settings > Advanced**, then click **Remote Agent**.

   <figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-7fbc18176a809b48fe86e812eae771cf187cba4b%2Fconnexion.png?alt=media" alt=""><figcaption></figcaption></figure>
3. Enter the following information:
   * **System field**: IP address of the Lina server in the following format: `<IP address>:<agent port number copied in step 6>`.
   * **User and Password fields**: connection information for the Lina server (not the network share).
4. Click **Connect**.
5. Go to **Settings > Backup** to define the folder to exclude from the backup.
6. In **Objects excluded from backup**, click `+`.

The path that appears indicates that this is a mount point (/mnt/130, for example). 130 represents the network share identifier on the Lina server.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-81e4edbcf50eb98f2752776008276dc611b252dc%2Fetape-6.png?alt=media" alt=""><figcaption></figcaption></figure>

7. Browse the network share tree, then choose the directory to exclude (data\_ back in the previous screenshot).

The directory appears in the list of objects excluded from the backup.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-5906d82109f46f4ff65d3583e79af0a513ec7d8a%2Fetape-7.png?alt=media" alt=""><figcaption></figcaption></figure>

8\. Add other folders to exclude, if needed.

### Restoring data on the network share

1. Open a Lina Agent interface.
2. Go to **Settings > Advanced**, then click **Remote Agent**.

   <figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-7fbc18176a809b48fe86e812eae771cf187cba4b%2Fconnexion.png?alt=media" alt=""><figcaption></figcaption></figure>
3. Enter the following information:
   * **System field**: IP address of the Lina server in the following format: `<IP address>:<agent port number copied in step 6>`.
   * **User and Password fields**: connection information for the Lina server (not the network share).
4. Click **Connect**.
5. Go to **Restore > Browse** to choose the file or folder to restore in the backed-up tree.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-7cb45110a423ae9667506ed9b6fc086075fb0014%2Fconfigurer.png?alt=media" alt=""><figcaption></figcaption></figure>

### Downloading share data

1. In the Lina Administration Console, create a restore token to access the network share data (**Restore > Restore tokens**), then copy it. For more details, see [Restore tokens.](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/restore/web-restore.md#restore-tokens)
2. In the Lina Administration Console, select **Restore > Web Restore**. For more details, see [Accessing the Web Restore interface.](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/restore/web-restore.md#accessing-the-web-restore-interface)
3. Paste the token, then click **Validate**. For more details, see [Restore Files in Browse Mode.](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/restore/web-restore.md#restoring-a-file-using-browse-mode)
4. Browse the backed-up data to choose the data to restore.
5. Download the data or create a download link to download it later.

You can also provide the link to a third party who can then retrieve the data. For more details, see [Restoring files with a download link.](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/restore/web-restore.md#restoring-files-with-a-download-link)

## Organizing your agents

These topics describe how to organize Lina agents.

To make agent administration easier in the Lina Administration Console, you can:

* Divide the Lina agents declared on the server into agent groups. You can create multiple groups, but each must have its own name. A protection set for an agent group can be inherited by any agent added to that group.

A default agent group with no protection inheritance is automatically created in the Administration Console. You cannot delete it, but you can duplicate it. This group contains all Lina agents that have not yet been assigned to other groups.

### Viewing the Agents view

To display the agent list in the Lina Administration Console.

To open the agent list, click **Agents**. In the agent list, you can also:

* Manage agents that are not declared. To declare an agent, click the button. Select the agent to declare, a protection, a strategy, and an agent group, then click Create.

When declaring a macOS agent whose default name is "user's Mac", we recommend selecting the agent from the list rather than typing its name. If you type it, note that the apostrophe in "user's" is a typographic apostrophe (unicode 2019, UTF-8 E2 80 99), not the keyboard apostrophe (0x27).

* (Multi-server only) Configure global agent settings (only on a master or standalone server).
* Export, delete, refresh, or undelete a list of agents.

**To filter the agent list**

You can use the search bar and the buttons above the list to filter agents. If you want to filter agents by content column, click the icon in the search bar, then select the column you want to use.

If you want to use advanced criteria:

1. Click the **Advanced filters** button above the agent list.
2. Enter a value in the tile of your choice.
   * You can set a minimum number of agents to display.
   * Use criteria such as agent quotas or synchronization.
   * If you chose to display only a limited number of agents, an exclamation point will appear next to the **More filters** button to indicate that several agents are hidden.
3. Click **Save**.

### Viewing agent details

1. In the Lina Administration Console, click **Agents**.
2. In the agent list, click the agent to display more details. The agent details are displayed and divided into four parts:
   * **Properties**: Information configured by an administrator when creating an agent.
   * **Information**: General information about an agent, such as the agent's operating system or the backed-up volume.
   * **Local Configuration**: Information about the backup and network configurations, such as the agent's network or the maximum acceptable data loss.
   * **Local Events**: Information about the agent's activity.

### Customizing the Agents view

1. In the Lina Administration Console, go to **Agents**.
2. Click the icon in the top-right corner of the table. The interface options are displayed (see <mark style="color:blue;">Table 14</mark>).

   To customize the agents view, you can:

   * Enable one or more options.
   * Drag and drop one or more options, using the button next to the option.

   The agents view updates automatically as soon as an option is enabled or moved.
3. Close the options list.

**Table 14 :** Column customization options (accordion)

<details>

<summary><strong>Status</strong></summary>

Agent status (active, for example).

</details>

<details>

<summary><strong>Activity status</strong></summary>

Agent activity status.

</details>

<details>

<summary><strong>Update</strong></summary>

Agent update status.

</details>

<details>

<summary><strong>Labels</strong></summary>

Labels used per agent.

</details>

<details>

<summary><strong>Serial number</strong></summary>

Serial number of backed-up machines.

This number comes from the manufacturer and uniquely identifies a machine. This number is useful for fleet management tools, for example. It is also useful for searching for machines.

</details>

<details>

<summary><strong>Last authentication</strong></summary>

Lets the administrator check the name of the last user logged in to a session on the agent.

</details>

<details>

<summary><strong>Version</strong></summary>

Current version number of the agent.

</details>

<details>

<summary><strong>Agent groups</strong></summary>

Name of the group to which Lina agents belong.

</details>

<details>

<summary><strong>Last sync</strong></summary>

Time at which the last data to protect was sent to the Lina server by the agent.

Updating the sync time involves the following steps:

* Whenever a protection session ends without error, meaning all files and directories are protected, the sync time is updated with the last completed session.
  * If errors occur, for example if a file is missing, the time of the last completed session is updated, but not the sync time.
* If no file has changed at the time a session is expected to take place (based on the RPO setting), meaning there is no new data to protect, the sync time is nevertheless updated to indicate that the data is protected.
  * In this case, the session time (started and ended) is not updated.

</details>

<details>

<summary><strong>Last connection</strong></summary>

Time at which the Lina Agent last contacted the server.

</details>

<details>

<summary><strong>Protected volume</strong></summary>

Specifies the protected volume.

</details>

<details>

<summary><strong>Restorable volume</strong></summary>

Specifies the restorable volume.

</details>

<details>

<summary><strong>Emails</strong></summary>

Indicates the email addresses provided by the user on the Lina agent. If this field is empty, the administrator can enter an email address.

This lets users:

* Log in to the Web Restore application and receive the Web Restore code to restore data.
* Receive notifications about their agent's protection status.

Once the administrator has filled in the email server-side, it can no longer be changed by the agent. See [Assigning an email address to the agent](#assigning-an-email-address-in-the-agent-details) for more details.

</details>

<details>

<summary><strong>Quota used</strong></summary>

Indicates the percentage of quota used. See [Quotas for managing protected data volumes](#quotas-for-managing-protected-data-volumes) for more details on how to set quotas.

</details>

<details>

<summary><strong>Quotas</strong></summary>

Indicates the quota set in the strategy currently applied to the Lina Agent.

</details>

<details>

<summary><strong>System</strong></summary>

Information about the operating system used by the agent.

</details>

<details>

<summary><strong>Hostname</strong></summary>

Displays the agent identifier as declared on the server.

Generally, the agent identifier is the same as the computer name. If the computer name already exists, for example on a machine in a different domain, Lina adds a suffix in the form `-nnn` (from 000 to 999).

To use a dedicated agent identifier when creating a new agent, see [<mark style="color:blue;">Configuring advanced agent access to the server.</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/deployment/installing-lina-agents.md#configuring-advanced-agent-access-to-the-server)

The agent identifier can be changed by double-clicking the agent in the Agent Details window.

</details>

<details>

<summary><strong>CDP Type</strong></summary>

For example, operating system filesystem events or the driver provide a way for Lina to request notifications that make it possible to quickly detect and back up modified files.

</details>

<details>

<summary><strong>Protection</strong></summary>

Protection schedule currently applied to the Lina Agent.

</details>

<details>

<summary><strong>Strategy</strong></summary>

Strategy currently applied to the Lina Agent.

</details>

<details>

<summary><strong>Node</strong></summary>

Node used for the agent (multi-server only).

</details>

### Viewing the agent group view

An agent group is used to group agents that share the same protection and strategy.

1. Open the **Lina Administration Console.**
2. Go to **Agents**, then click the **Agent groups** button above the agent list.

In the agent groups list, you can:

* Display the list of agent groups by protection, strategy, and the number of agents contained in an agent group. If you belong to the global tenant, you can also see the tenant of each agent group.
* Create, modify, delete, and duplicate agent groups.
* Refresh the protection zones list.
* Export a list of agent groups in .CSV and .HTML formats

### Creating an agent group

1. Open the **Lina Administration Console**.
2. Go to **Agents**, then click the **Agent groups** button above the agent list.
3. Select a tenant at the top of the page.
4. Click **Create a group**.
5. Enter an agent group name.
6. Select a protection schedule.
7. Select a strategy.
8. Click **Create** to finish creating the group.

The group is displayed above the default group (No protection inheritance). If you delete an agent group containing agents, those agents are moved to the default group.

**To edit an agent group**

Click the agent group in the agent groups list.

#### To assign an agent group to agents

* Go to the agent details if you want to change the properties of a single agent: For more information, see [Manually creating Lina agents.](#manually-creating-lina-agents)
* Go to the agent list if you want to change the properties of multiple agents:
  * Select one or more agents, then click the pencil icon. In the agent properties, an option called Agent Group appears. By default, this option is disabled.
  * Enable the Agent Group option, then select an agent group.

By default, agents inherit the protection and strategy defined for any agent group other than the default agent group.

If the **default agent group** is selected (No protection inheritance), you can select agent-specific protections and strategies. Follow these steps:

1. **Enable** the **Protection** and **Strategy** options.
2. **Select** a protection rule and a strategy for the agents.

### Copying agent group configuration between tenants

**To copy an agent group's configuration between tenants:**

1. In the Lina Administration Console, choose the **tenant**you want to copy from.
2. In the **Agents** view, click **Agent group.**
3. Select the agent group to copy.
4. Click **Copy to tenant.**
5. Choose the tenant or tenants you want to copy the group's configuration to.
6. Click **Apply**.

### Moving agents into an agent group

A Lina Agent can only be moved into a group belonging to the same view.

If you want to find agents that are being moved, you can select the Activity Status filter above the agent list, then select the Being Moved status.

1. In the Lina Administration Console, select **Agents**.
2. In the agent list, select the agents to move. A pencil icon appears above the agent list.
3. Click the pencil icon to change the settings of multiple agents.
4. In the **Agent Group** tab:\
   a. Enable the **Agent Group** option.\
   b. Select a new agent group.
5. Click **Save**.

### Applying identical settings to multiple agents

Several Lina Agents can share identical settings:

* Agent group
* Protection.
* Strategy.
* Activity status.
* Update policy.
* Labels.
* Email.
* Name.

To apply identical settings to multiple agents

1. In the Lina Administration Console, select **Agents**.
2. In the agent list, select the agents to change. A pencil icon appears above the agent list.
3. Click the pencil icon to change the settings of multiple agents.
4. Click the type of setting to change:
   * **Agent group**: enable the *Agent group* option, then select an agent group to apply the changes to.
   * **Protection**: enable the *Agent group* option, then select a group. Repeat this procedure for the Protection option.
   * **Strategy**: the *Agent group* option, then select a group. Repeat this procedure for the Strategy option.
   * **Activity status**: enable the *Activity status* option, then select an activity status.
   * **Update**: enable the *Update policy* option, then select an update policy.
   * **Labels**: enable the *Labels* option, then select a label.
   * **Emails**: enable the *Emails* option, then select a user email.
   * **Name**: enable the *Rename* option, then indicate whether you want to replace, add, or remove part of the name assigned to all your agents.

     This option can be useful if your agents' names contain a service name that changes regularly, for example.
5. Click **Save**.

### Setting an agent's activity status

You can update the activity status in the agent list or in an agent's details.

#### Setting the status in the agent details

1. In the Lina Administration Console, open the Agents list.
2. Select a tenant containing the agent, using the dropdown list in the top bar of the Lina Administration Console.
3. In the agent list, click an agent.
4. Select an activity status for the agent under Properties > Activity Status.

Agent statuses distinguish active agents from inactive agents. They also determine which operations can be performed on the agent. For more information, see **Table 15: Activity statuses**. The available statuses are as follows:

* On vacation.
* Paused.
* Inactive.
* Archived.
* Active.

5\. Save your changes.

#### Setting the status from the agent list

1. In the Lina Administration Console, open the Agents list.
2. Select a tenant containing the agent, using the dropdown list in the top bar of the Lina Administration Console.
3. In the agent list, select one or more agent(s).
4. Use one of the following methods, using the toolbar above the list:
   * To update one or more agent(s) at once: click , then select a status.
   * To update multiple agents at once: click the pencil icon, enable the activity status, select a status, then save your changes.

### Deleting an agent

If an agent no longer exists or you no longer want to protect it, you can delete it from the server. When you do, the deletion process starts. The agent is then placed in "deletion" mode. At this point, you can no longer restore data from the agent.

Fully deleting an agent can take quite a while, depending on the volume of data backed up for the agent, since blocks must be processed one by one by maintenance tasks.

Because of deduplication, the amount of storage space freed up when an agent is deleted does not correspond to the amount of data backed up for the agent. The higher the deduplication rate, the smaller the amount of space freed up when an agent is deleted.

**To delete an agent**

1. In the Lina Administration Console, click **Agents**.
2. Select one or more agents and click **Delete**.

### Undeleting an agent

When you delete an agent in the Lina Administration Console, its name is prefixed with @del- and it is no longer backed up. If you want to undo the deletion, you must do so within a certain time frame (one hour by default) before the agent is actually deleted.

To undelete an agent:

1. In the Lina Administration Console, select **Agents**.
2. Select the deleted agents in the agent list and click Undelete agents (near the Delete button).

### Monitoring an agent

Backup configurations performed on a Lina Agent can be monitored by an administrator in the agent's details.

To display the agent's details:

1. In the Lina Administration Console, click **Agents**.
2. In the agent list, click an agent. The agent's details are displayed.

#### Viewing agent configuration information

\> Select the Information section to view general information about the workstation on which an agent is installed (the agent's operating system or email, for example). This information is retrieved by the Lina server.

#### Monitoring backup configurations edited on an agent

\> Select the Local Configuration section to view information about the agent's local backup configuration (maximum acceptable data loss, for example). This information is sent from the Lina Agent.

#### Monitoring agent activity

When an issue occurs on an agent, an administrator can review the agent's logs in the Lina Administration Console. A list of events is automatically retrieved by the Lina server. This list:

* Can be viewed in the server events and is sorted by severity, thread, source, date, and description. This list makes it possible to retrieve information about all agents in one or more tenants.

To sort events, go to **Server > Events**, then select a severity type in the filters.

* Can be viewed in the agent's details and is sorted by severity, description, source, and date.

You can sort events using the list of events sent by a specific agent, or retrieve specific events on demand.

You can:

* Limit the list of events collected from the agent, using the filter above the list.
* Retrieve a detailed list of events for a specific log type, using log configurations.

To filter an agent's activity:

1. Select the Local Events section.
2. Enter the severity, thread, source, date, and description in the filter field, then click the magnifying glass.

To retrieve a detailed list of events, with a log configuration:

1. Contact the Support team for more details on which log category to use.
2. Select the Local Events section in the agent's details.
3. Enter the log category provided by the Support team.
4. Select a severity type, then click the **+** button. A button named after the log category used is displayed above the filter field.
5. Click **Save**.

The event list updates as new details are transferred from the agent to the server.

## Setting up automatic updates for Lina agents

The Lina Administration Console lets you access agent installers via the Lina Administration Console login page and update them whenever a new version is available on the server.

Automatic updates for Lina agents can be configured either at the global tenant level (all agents in all tenants are updated), at the tenant level (all agents in the tenant are updated) via a default update policy, or at the agent level via a specific update policy.

The agent-specific policy is intended to add exceptions to the broader default policies: either excluding certain agents from automatic updates, or only updating certain agents.

If multiple policies are defined, the most specific policy always takes precedence over the more general policy. The priorities are as follows, from highest to lowest:

1. Agent-specific policy.
2. Tenant default policy.
3. Default policy for all tenants.

Once automatic update policies are set, all agents covered by these policies check for new updates at launch, and then every 24 hours.

If an update is detected, it is installed and users are informed that they need to refresh their agent interface to take it into account. No further action is required.

### Prerequisites

To enable automatic updates regardless of the chosen policy, you must make the contents of the agent binaries directory available through the web server of your choice as soon as a new version is released. You can use an existing web server or install a new one.

For example, if you want to use the web server provided with the Lina installation, copy the Atempo-LinaXXX.iso\Agent directory to C:\Program Files\Atempo\AtempoDedupEngine\default\\[www](http://www).

### Setting a default update policy

The policy applies to all agents in the tenant.

1. **Select the tenant** for which you want to enable automatic updates. For global activation, select *All tenants*.
2. **Go to the agents view**, then click the button above the agent list to configure global agent settings.
3. In the **Declared agents** tab, go to **Update**.
4. **Enter the URL** to the agent binaries in the following format:\
   `https://<your_server_connection_string>/Agent`\
   *(example: <https://dc01dpmserver1v:8181/Agent>)*

   > The server address is kept unless you clear it or replace it with a different server address.
5. Click **Enable updates**, then save.

If you wish, you can specify whether agent configurations should be displayed on the login page when a new version is available.

### Setting a specific update policy

The policy applies to the designated agent.

1. Go to the **agents view**, then continue with one of the following methods:
   * **To apply an update policy to an agent**: click the agent for which you want to configure the policy, then go to **Update** (Properties tab in the agent details).
   * **To apply an update policy to multiple agents**: select your agents from the list, click the pencil icon above the list, then enable the **Update** option.
2. Click **Use a specific update policy**.
   * If you want to **exclude the agent** from automatic updates, deselect **Enable updates**, then save.
   * If you want to enable automatic updates only on the selected agent, select **Enable updates** and provide the URL to the agent binaries in the following format:\
     `https://<your_server_connection_string>/Agent`\
     \&#xNAN;*Example:* `https://dc01dpmserver1v:8181/Agent`
   * If you do not want the update to wait for the next regular daily check, select **Force update as soon as possible**.
3. **Save**.

### Checking an agent's automatic update status

In the agents view, a column indicates the agents' update status. Make sure this column is displayed to view an agent's status. The possible statuses are defined in the following table.

**Table 15:** Activity statuses

<table><thead><tr><th width="108.3333740234375">Update status</th><th>Description</th></tr></thead><tbody><tr><td>⏸️</td><td>Agent not configured for automatic updates.</td></tr><tr><td>🔄</td><td>Agent configured for automatic updates via a default policy.</td></tr><tr><td>⬇️</td><td>Agent configured for automatic updates via a specific policy. For more details, see <a href="#manually-creating-lina-agents">Manually creating Lina agents</a>.</td></tr></tbody></table>

## Assigning an email address to the agent

This email address can:

* Be entered in the Lina Administration Console for one agent or several agents.
* Be entered in the agent interface. To enter an email address in the agent interface, see [Providing an email address to identify the agent.](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/restore/web-restore.md#providing-an-email-address-to-identify-the-agent)
* Be used to send email notifications.
* Be used to access the Web Restore interface.

### Assigning an email address in the agent details

To manually assign an email address to an agent in the Lina Administration Console:

1. In the left-hand menu of the Lina Administration Console, click **Agents**.
2. In the agent list, click an agent. The agent details window is displayed.
3. Go to **Information > User**, enter an agent email, then click the **+** button.
   * If the *Allow agent to change email* option is disabled, the email set by the administrator takes precedence over one set by a user in the agent interface (Identity tile in the agent settings). As a result, the email set on the agent cannot be changed.
4. Click **Save**.

### Assigning an email address using Active Directory

To automatically assign multiple email addresses to multiple agents at once, using Active Directory:

1. Go to the agent list.
2. In the agent list, click the icon above the agent list to access agent settings.
3. In the agent settings, go to **Declared agents > Email update**.
4. Make sure LDAP is configured. You can view the LDAP configuration. If no LDAP is configured, see [Creating an LDAP configuration in the Lina Administration Console](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/settings/managing-users-and-user-rights.md#creating-an-ldap-configuration-in-the-lina-administration-console).
5. *(Optional)* Overwrite existing emails to update the entire list of user emails. If you do not enable this option, no existing user emails are updated.
6. *(Optional)* Click the **Test** button to preview the email update.
7. Click **Update agent emails** to apply all changes.

## Customizing data protection settings

A number of strategies are predefined in the software to help you configure data protection. However, you can create new ones if needed. This topic gives you the information you need to customize data protection.

### Quotas for managing protected data volumes

Quotas let you set limits on certain items to manage the growth of protected data. You can find information about quotas in the Lina Administration Console via Agents.

#### Viewing quota information

To display quota information in the Lina Administration Console

1. Go to the agent list.
2. Click the button to display one of the following columns in the agent list.
   1. Quota: threshold set by the superadmin to protect volumes on agents.
   2. Quota used: percentage of quota used.

#### Filtering agents by quota limit

1. Go to **Agents**.
2. Click the **Advanced filters** button above the agent list.
3. Enable quotas in the Quota tile.
4. Specify whether agents should be kept if their quota limit is above or below the default quota limit.
5. Set the quota limit for agents.

### Setting agent quotas in a strategy

1. Go to **Backup > Strategies.**
2. Click a strategy.
3. In the **Quotas** tab, set a limit for the protected volume.

To set limits, specify a value and a unit for the quotas. Quotas are set on the server but apply individually to each agent. For example, if you limit the protected volume to 100 GB, this means that no single agent can protect more than **100 GB** of data.

For optimization reasons, quota checking occurs at regular time intervals. As a result, an agent could temporarily reach a limit without triggering an alert.

Lina performs these operations:

* The server refuses to protect any new data.
* The current backup session is interrupted.
* The agent's storage space is disabled.
* An alert appears on the server for the agent that has reached its quota.
* The agent's database becomes unavailable for 20 minutes before a new protection session starts.

### Resuming protection

When an agent has reached the limit set for a quota, certain actions let you resume protection on the agent, for example:

* Increase the quota value.
* Change the server or agent rules to protect fewer files or folders, or avoid protecting overly large files.
* Delete files on the agent or exclude them from protection.
* Reduce the retention period.

The quota-reached status is removed as soon as a full protection session completes on the agent without reaching a limit.

### Retention

Retention corresponds to the period, in days, during which a file remains restorable after being:

* Deleted from the agent
* Excluded from protection policies
* Replaced by a new version of the same file

Until a protected file is in one of these three situations, the retention countdown does not start and the file remains restorable at any time. When a file can no longer be restored, it is picked up by background tasks and deleted. Deletion dereferences the data blocks so that the ADE subsystem's compactor can free up all or part of the space in the block storage space. The diagram (<mark style="color:blue;">Image 15</mark>) shows when the retention countdown starts in various situations:

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2FcWL9VfQjQK9CuFSwxIha%2Fimage.png?alt=media&amp;token=2d44702e-a8d5-44b1-a167-39e4cf564e2f" alt="" width="563"><figcaption><p><strong>Image 15</strong>: Lina retention process explained</p></figcaption></figure>

### Limiting agent browsing to the user's root directory

When a machine is shared between several users, the administrator can set the backup configuration in the **Strategy Details** to prevent users from browsing other users' file structures when they log in to the agent.

To limit agent browsing to the user's root directory:

1. Open the Lina Administration Console.
2. Select **Backup > Strategies.**
3. Select a tenant at the top of the page.
4. Click a strategy.
5. Go to **Agent > Agent Permissions,** then enable the Limit restorable files to the user's root directory option. In this example (<mark style="color:blue;">Image 16</mark>), the administrator has enabled this option in the strategy details.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-12b4393dd7f6e115557675b7308862f1e3eea878%2Fdetails.png?alt=media" alt=""><figcaption><p><strong>Image 16</strong>: Strategy details for the agent</p></figcaption></figure>

### Creating a data protection strategy

#### Step 1: create a strategy

1. Open the Lina Administration Console.
2. Select **Backup > Strategies**.
3. Select a tenant from the Current Tenant list at the top of the page.
4. Click ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAADP0lEQVR4AdSUWUhVXRTHf/uc4/3q87tqfhUImd9H0oBJdFPKJm9ZxKW6WTRIRhAUPVSQhZBENFI2EWEPDdD00EMFWTQRVBRFVPQgzRMN2mCZzea16z2tfUw5Gjd9CWpz1j57Tf+911p7bcP+hcPgF47fBzxiR7j3+gXnHtzkzP0b3HpZQX0kEjX2Np38cfVrVpzcj6+4gD7F8/FvKiJHqO/aAnqtmkNh6W7ZqBwpX7ONWgUvf/uGQMkSlh3bR1llBbX19RDjAc9f1Nk296tfsfH0YUbKZhcf3W07+JUnD8hav5A7VZXYpiWOSqjlp0Rn8vxLDeO3ruTozWtNERgtTd18Uekunn3+CKbpFoPOc8RuLjMMqkK1FB7YTvWXz44uKvjBskucf3gblMI9lBR1XL9scv7vghzRrULb3pP67L1yFj2igpecP05Yn1BbucgQWX6mn2DqfzgRuHR6GcFm+8VT1NWHiQp++0U5mC61GBP+ii1UKxuEwmE0j/67U6QMHla95Nm76ujgoU/vQQzRQ5n40gaTnzWcKVk5pCQkkpbckzxZ5w/wk5kUL1F8r4FSfK35xIdQDYZSSlI1mxMaxEXKkusmITaITNJT+xJMyyCYnkkXbzzdklKddbB3P9I7eWky1Q5ys2IMC/1wSV22EdBCF3VM7ExTTu069pRuZsqOteRvXc2F8kccvnyEqdvWiGw9O8sqwFQN3pKyDvGJdP4nDldSG3SN85g0H9LbjSzoSKR5lJAl6bKsGJxmEr4JWFtLY43ons6/sd7o4Av8Y+kUl6DNm5EtaXz6ppLnHxvucjOlMF7p3Pniq5SKDt61Q0cW5uSipDFwjYhpsfzQDrZcLYOWzVUXIi8jm4zkbo6H4cxRprlDA8zMHk17rZdw9U9TraxDetFIwsdIrif4hrAudzoey3I0PwWP9bRjy6RZbBLyeuT2yMnQD1fj1dBrkf0tESwOTGbXtHkktI91gPX0U3Bt4JE0zB40iutFJWyQTSb6BjIspQf+rqnk9unPinHTuVy4kaWBPOLaOTFqN4daBXesZEpJlBoMC3JgRiFnClZzdkExh2YuYsmoSfROShaLH782g//o2rrkzwX/BgAA//8U3F2uAAAABklEQVQDANIIb+RxLhrNAAAAAElFTkSuQmCC) . The **New Strategy** interface is displayed.
5. Enter the name of the strategy you want to create.

#### (Optional) Step 2: configure general settings

\> Set a value for some or all of these settings:

* **Retention period:** Set the number of days during which data can be restored once the retention countdown has started. The default retention period for a new strategy is 30 days. This new retention period does not affect existing strategies. See [Retention ](#retention)for more details.
* **Replication:** Select the destination to which data will be replicated. Enable the Limit retention option to set the number of days during which replicated data remains restorable once the retention countdown has started.

> **Note**: This setting only appears if you have created at least one replication destination.

* **Quotas:** Set a limit for the protected volume.

To set a limit, specify a value and a unit for the quotas. This limit applies to all agents using this strategy. See [Quotas for managing protected data volumes](#quotas-for-managing-protected-data-volumes) for more details.

#### (Optional) Step 3: configure agent settings

\> Set a value for some or all of these settings:

* **Do not lose more than** Set the maximum delay between two protection sessions (one minute to one day), by indicating the Recovery Point Objective (RPO) if data is restored between two sessions. If the protection configuration is changed on the server or on the agent, protection restarts immediately, without waiting for the delay defined by the RPO.
* **Trigger an alert if an agent has not been protected** Indicate the time threshold to apply between the moment an agent is no longer protected and the moment an alert is generated in the Administration Console.
* **Trigger an alert if an agent has not connected** Indicate the time threshold to apply between the moment an agent is no longer protected and the moment an alert is generated in the Administration Console.
* **Agent Permissions section:** Grant users the right to change their own settings on Lina agents, such as changing the bandwidth or limiting agent browsing to the user's root directory (see [Limiting agent browsing to the user's root directory under Search and browse](#limiting-agent-browsing-to-the-users-root-directory)).

{% hint style="info" %}

* <mark style="color:blue;">Agent connection/disconnection alerts are only displayed in the administration interface.</mark>
* <mark style="color:blue;">Alerts related to an old or missing backup can be displayed in the interface and sent by email to the affected user, depending on the configuration applied.</mark>
  {% endhint %}

#### (Optional) Step 4: configure network settings

1. Select a compression algorithm to transfer your protected data over a network:
   1. **BROTLI** is a compression algorithm offering decompression speed comparable to the "deflate" algorithm, and a compression ratio close to LZMA.
   2. **LZMA** provides better compression, but requires more processing power. Recommended for slow connections such as WAN.
   3. **Raw** is an uncompressed format.
   4. **ZLIB** offers the best trade-off between speed and compression ratio. Recommended for LAN connections.
   5. **Zstandard** is a compression algorithm offering a compression ratio close to BROTLI's, along with low CPU usage.
2. Enable some or all of these network settings that apply to agents, then set a value for each enabled setting:
   1. **Limit backup bandwidth** Set the bandwidth to enable for data transfer between the Lina server and the agent. Specify a value in KB/s.
   2. **Restrict network interfaces** Set conditions on the network interface as well as the gateway interface. If this option is selected, specify the network interface and gateway that agents must use to communicate with the server. If this option is not selected, all Lina agents accessible via the Lina server remain accessible on the network, regardless of the gateway and network interface.
   3. **Use WAN mode** Enter the name of a gateway on which WAN mode should not be enabled. You can use the \* character in the gateway name, and specify multiple gateways separated by commas. WAN mode is a network optimization for inter-agent deduplication. It makes backups easier in an environment with a slow network, by ensuring that blocks already on the server are not sent back by the agent.
3. If you want to define time slots during which continuous data protection is active:
   1. Enable the option.
   2. Click the days and times during which you want continuous data protection to be active.

This optimizes the use of your resources by choosing time slots outside your daily activity peaks.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-0b110ab4652c3da9eb62ab4076c88b9fa9880547%2Freseau.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Enable or disable encryption when data is transferred over a network gateway. If you select this option, you can enter the name of the gateway on which data encryption should not be enabled. You can enter multiple gateways separated by a comma. Only the superadmin can enable or disable this option.
5. Click **Create** to finish declaring the strategy. The strategy appears in the strategies list. To modify an existing policy, select it from the list, and change the server configuration and agent configuration.

### Modifying a data protection strategy

1. Open the Lina Administration Console.
2. Select **Backup > Strategies.**
3. Select a tenant from the **Current Tenant** list at the top of the page.
4. Select the strategy you want to modify, then update your settings. For more details, see [Creating a data protection strategy](#creating-a-data-protection-strategy).
5. Save your changes.

## Configuring agent protection

Protection schedules are predefined in the software to help you configure data protection. However, you can create new ones as needed. This topic explains how to customize data protection.

To customize your agents' protection, start by creating file categories. You can then create new protection rules and zones, and finally a new protection schedule. As described in Defining the Data to Protect, to create a protection schedule you need these elements:

* **File category**: defines the file categories to which protection rules apply.
* **Protection rule**: indicates which file types to protect.
* **Protection zone:** associates a path with a protection rule.
* **Protection schedule**: associates a path with a protection rule.
* **Path**: defines the objects to protect.
* **Action**: indicates whether to include or exclude files from protection, and determines to what extent users can make their own choices on their agents.

### About paths and categories

#### Path syntax

Lina treats paths as file trees. In other words, all subdirectories of the path are taken into account.

Here are the path syntax rules:

* Windows, macOS, and Unix paths are supported.
* Depending on the operating system, you can use either / or \ as the directory-level separator. C:\ is also accepted.

You can only use the special character \* to indicate a directory level, not to indicate <>. To indicate more than one level, use \* multiple times between separators. For example:

* **Windows**

<kbd>\\\*\Documents and Settings\\\*\MyDocuments</kbd>

* **macOS**

<kbd>/Users/\*/\*/tmp</kbd>

* **Linux**

<kbd>/home/\*/\*/tmp</kbd>

> **Important**: /us\*/ is not supported.

* Use only one path per line.
* Windows paths are not case-sensitive, while macOS and Linux paths are case-sensitive.

#### Path example

In this example (<mark style="color:blue;">Image 17</mark>), whatever rule you apply to this path, the rule only applies to files located in the directories shown in purple.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2FzDEAeIsamEbijmNI3UX1%2Fimage.png?alt=media&amp;token=d4261101-1efd-453b-8ee4-0faa8febd655" alt=""><figcaption><p><strong>Image 17</strong>: Example of paths for objects to protect</p></figcaption></figure>

#### Path priorities

Path priorities are used to determine which protection to apply to an object if it is located in more than one of the paths in the protection schedules.

Here are the path priorities:

* **Number of levels in the path**

This is the first criterion checked by Lina. The more expanded a path is, the higher its priority. For example, if FileA is located in the directory <kbd>c:\a\b\c\d</kbd> and the following paths have been defined in the protection schedules:

* **Path1**: c:\a\b
* **Path2**: c:\a\b\c

FileA is protected by the Path2 specifications.

* **Generic or specific paths**

The second criterion concerns how specific a path is. The more detailed it is, the higher its priority. For example, if FileA is located in the directory <kbd>c:\a\b\c\d</kbd> and the following paths have been defined in the protection schedules:

* **Path1**: c:\a\\\*\\\*\d
* **Path2**: c:\a\b\c\d

File A is protected by the Path2 specifications.

### Setting default protection for new agents of an operating system

Default protection can be applied to Windows, Linux, or macOS agents. By default, this protection is applied when you create an agent.

1. Go to the agent list.
2. Click the button above the agent list to configure global agent settings. These settings apply to new agents and existing agents.
3. Go to **Incoming agents > Default protections.**
4. Set default protection for the operating system of your choice.

If you do not want to set default protection for a specific operating system, you can select No server rule or exclude new agents from protection.

### Creating a file category

In the file category list, you can:

* Display the list of file categories by name, tenant, extension, and the number of times a file category is used.
* Display the list of file categories by tenant, extension, and the number of times a file category is used.
* Create, modify, delete, and duplicate file categories. To create a new category from an existing category, select the category, then click **Duplicate**.
* Refresh the file category list.
* Copy file categories to another tenant. To copy a file category to another tenant:
  * Select the file category, then click the globe-shaped button.
  * Select the tenant that will receive the protection, then click Save.
* Export a list of protections in .CSV and .HTML formats

**To create a file category**

> **Note**: Each file category can contain up to 127 items.

1. Open the **Lina Administration Console.**
2. Select **Backup > Protections > File Categories.**
3. Select a tenant at the top of the page.
4. Click <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2FG4je4q3oSwc7nCC0OVkU%2Fimage.png?alt=media&amp;token=e0f26af3-8bee-4c27-b8d6-f4b1ff937b85" alt="" data-size="line">.
5. In the **General** section, enter the name of the file category to declare.
6. In the **Names and Extensions** section, define the list of extensions or names for the items to which you want to apply a protection schedule:
   1. Enter a file or folder name, or an extension. You can use the following syntax to indicate file types in a protection schedule:
      1. \*.extension such as, for example, \*.avi, \*.mp3, or \*.wmv to include all files with an avi, mp3, or wmv extension.
      2. \~\* to include all files starting with \~.
      3. software.log to include all software.log files.
      4. Perso\* to exclude any folder or file starting with "Perso", regardless of where the folder or file is located in the filesystem.
   2. Press **Enter** or click **+** to add the file category.
7. Click **Create** to create a new file category.

### Modifying file categories

Here is the syntax for indicating file types in a protection schedule:

* \*.extension such as, for example, \*.avi, \*.mp3, or \*.wmv to include all files with "avi", "mp3", or "wmv" extensions.
* \~ \* to include all files starting with "\~".
* software.log to include all software.log files.

**To modify a file category :**

1. Select **Backup > Protections > File Categories**.
2. Select a tenant at the top of the page.
3. Click the file category you want to modify.
4. Change the file category name, or the list of names or file extensions. For more details, see [Creating a file category.](#creating-a-file-category)
5. Save your changes.

### Creating a protection rule

Creating a rule involves:

1. Choosing a default action for file types not explicitly indicated in a category.
2. Creating associations between file categories and actions to protect files by type.

In the protection rules list, you can:

* Display the list of protection rules by name, tenant, and usage.
* Create, modify, delete, and duplicate protections. To create a new rule from an existing rule, select it from the rules list, then click **Duplicate**.
* Refresh the file categories list.
* Copy file categories to another tenant. To copy a file category to another tenant:
  * Select the file category, then click the globe-shaped button.
  * Select the tenant that will receive the protection, then click Save.
* Export a list of protections in .CSV or .HTML formats

**To create a protection rule**

1. Open the **Lina Administration Console.**
2. Select **Backup > Protections > Protection Rules**.
3. Select a tenant at the top of the page.
4. Click the appropriate settings. The protection rule settings are displayed.
5. In the **General** section, enter a name for the protection rule.
6. If you want to allow agents to change the protection rule, enable the corresponding option.
7. Select the default behavior to apply for the rule.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-1a7b302142d128b983835a7ca10ad0de3f339615%2Fprotection.png?alt=media" alt=""><figcaption></figcaption></figure>

You can apply different behaviors, such as:

* Protect all files and exclude certain file categories from your protection rule.
* Protect all files and exceptions, and prevent agents from changing your exceptions.
* Protect all files and exceptions, and allow agents to change your exceptions.
* Protect no files and include the file categories of your choice in your protection rule.
* Protect no files, exclude exceptions from protection, and prevent agents from changing your exceptions.
* Protect no files, exclude exceptions from protection, but allow agents to change your exceptions.
* Protect all files, allow agents to change your protection rule, but include a file category in your protection and prevent agents from changing that file category. In this case:
  * The user can exclude certain parts of the zone where this rule is applied.
  * Files in the category are always forcibly included in that zone.

8. (Optional) In the **Exceptions** section, create a list of file categories and action combinations (protected or excluded). Each action applies only to the chosen file category:
   1. Select a file category from the dropdown list. If you cannot find your file category in the list of generic categories, you can create a file category by clicking **+**. For more details, see [Creating a file category.](#creating-a-file-category)
   2. Select the behavior to apply to this file category (protect or exclude). Categories can be edited if needed from this screen.
   3. (Optional) Allow agents to change this rule.
9. Click **Create** to create the protection rule.

### Modifying a protection rule

To modify a protection rule

1. Open the Lina Administration Console.
2. Select **Backup > Protections > Protection Rules.**
3. Select a tenant at the top of the page.
4. Click a protection rule in the list to open the rule settings. For more details, see [Creating a protection rule](#creating-a-protection-rule).
5. Save your changes.

### Creating a protection zone

**In the protection zones list, you can:**

* Display the list of protection zones by name, tenant, path, and usage.
* Create, modify, delete, and duplicate protections.
* Refresh the protection zones list.
* Copy protection zones to another tenant. To copy a protection zone to another tenant:
  * Select the protection zone, then click the globe-shaped button.
  * Select the tenant that will receive the protection, then click Save.
* Export a list of protection zones in .CSV or .HTML formats.

**To create a protection zone:**

1. Open the Lina Administration Console.
2. Select **Backup > Protections > Protection Zones**.
3. Select a tenant at the top of the page.
4. Click ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAADPUlEQVR4AbSTWWxMURjHf/femalqhzRTKhGxVYO2iGlCKmiLVJla6kGESPDkgS4pYk+QIoKmSUnfJDwoiUSQSCRCECQ0KGKpaC2119C0dFbfvXPvmJta4sGZc77znf/5zn++7arR/zBU/sP4K2kkGuV5x3tutj3leusTnn58QyQa+aMrvyV91+nn0JXz5B/YQHbNWibvrSJfVm5NOeP3VLLnwinaOj4g2ev1B78kbf/ymQWHd7H2ZAM3XzzjWzAIriRI6kNPOMz9t6/YfOYos+u2cOvls7+TNre/YMr+9dx42UJY1UBRYgtzmOeI3D0ST+cd3smllgdE5Wda0MvTTaeP0Or/BJrDsontEcljJBrTLamqvO3qpOpEA/5v3RZqJz338DbnH90FMY5biKJIYQrGepk0OANJoiAJU2zvvXtFY9PVOGjz9OCls4QkZ/FbU1HFy9VTfSwZOwpEN+H4FpYO0YsajIQNzEba/LoVtARINwqHIBQiIA8DsqOf9SVng0EXisrj969p93foJ3v436WNEAPjRvas4eMozvFSlJtHhrsfwzOGMlP04uyJjPGkEk+FohCQ3Pq/dxlPE9ySs+YUYRZDcVCYV0zFdB+VhaVCMgDvyDwqC0qpKJhD0RAPxKKVNzI1DYcq3SKqjTQtLR2sCkcCNBzfTUndNny1m7n4vIWT104wt3aLYDuob2oDhyIUMiUVbnca6Sn95IA9/JIxE4Q04e+d0vCuJBTZHVJlh+YCpyyXLE0xCAwhxSvMzGZA6i9Iq4vm079vqmFnE5KzL92dfO0JYHwM2Eey04meIlXs9BtVF9Ya6cmgvMCHEuixIGMPy4ewrrGefTeaQHJngJYIBFg0IZ/Jw7IsxB6+jlbPWMBC71RcElK8unLRFQrSrWOiG1PyqEnLFUnKahetoo9DL7Jx05vUnZTMseUV7ChdRopuGJSQjQ/C7AqdWLBkyXG5dELjimo8Ke4Ymylt4ZsYyVKMDbPKuLOxlo0li5mWlUOuZxA5aQPJHzGaNTPmc6VqL/vLVpJuFsd6Cy29Pf15CZnpg6jxLeXymp3c21pP8/ZDXKuooa5sFd4hIxJNE/TMP5MmWP6T+gMAAP//2pcnmwAAAAZJREFUAwDVQGPm0MvQLAAAAABJRU5ErkJggg==).
5. In the **General** section, enter a name for the protection zone to declare.
6. In the **Path** section, enter the system path syntax to which you want to apply a protection rule (/, for example).

You can also use environment variables to define protection zones for Windows machines. Only variables that do not depend on the user will work.

7. Click **Create** to finish creating your protection zone.

### Modifying a protection zone

1. Open the Lina Administration Console.
2. Select **Backup > Protections > Protection Zones.**
3. Select a tenant at the top of the page.
4. Click a protection zone in the list, then modify the zone's settings. For more details, see [Creating a protection zone.](#creating-a-protection-zone)
5. Save your changes.

### Creating a protection schedule

A protection schedule determines which directory is protected or not on all agents.

**In the protection schedules list, you can:**

* Display the list of protection schedules by name, tenant, and usage.
* Create, modify, delete, and duplicate protection schedules. To duplicate a protection schedule, select a protection, then click <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2FiGjclHlYZlzWeCbX5itx%2Fimage.png?alt=media&amp;token=61ad2cfb-4b43-496f-a1b1-10043ac35b17" alt="" data-size="line">.
* Refresh the protection schedules list.
* Copy protection schedules to another tenant. To copy a protection schedule to another tenant:
  * Select the protection schedule, then click the globe-shaped button.
  * Select the tenant that will receive the protection schedule, then click **Save**.
* Export a list of protection schedules in .CSV or .HTML formats.

**To create a protection schedule**

1. In the **Administration Console**, select **Backup > Protections.**
2. Select a tenant at the top of the page.
3. Click ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAADPUlEQVR4AbSTWWxMURjHf/femalqhzRTKhGxVYO2iGlCKmiLVJla6kGESPDkgS4pYk+QIoKmSUnfJDwoiUSQSCRCECQ0KGKpaC2119C0dFbfvXPvmJta4sGZc77znf/5zn++7arR/zBU/sP4K2kkGuV5x3tutj3leusTnn58QyQa+aMrvyV91+nn0JXz5B/YQHbNWibvrSJfVm5NOeP3VLLnwinaOj4g2ev1B78kbf/ymQWHd7H2ZAM3XzzjWzAIriRI6kNPOMz9t6/YfOYos+u2cOvls7+TNre/YMr+9dx42UJY1UBRYgtzmOeI3D0ST+cd3smllgdE5Wda0MvTTaeP0Or/BJrDsontEcljJBrTLamqvO3qpOpEA/5v3RZqJz338DbnH90FMY5biKJIYQrGepk0OANJoiAJU2zvvXtFY9PVOGjz9OCls4QkZ/FbU1HFy9VTfSwZOwpEN+H4FpYO0YsajIQNzEba/LoVtARINwqHIBQiIA8DsqOf9SVng0EXisrj969p93foJ3v436WNEAPjRvas4eMozvFSlJtHhrsfwzOGMlP04uyJjPGkEk+FohCQ3Pq/dxlPE9ySs+YUYRZDcVCYV0zFdB+VhaVCMgDvyDwqC0qpKJhD0RAPxKKVNzI1DYcq3SKqjTQtLR2sCkcCNBzfTUndNny1m7n4vIWT104wt3aLYDuob2oDhyIUMiUVbnca6Sn95IA9/JIxE4Q04e+d0vCuJBTZHVJlh+YCpyyXLE0xCAwhxSvMzGZA6i9Iq4vm079vqmFnE5KzL92dfO0JYHwM2Eey04meIlXs9BtVF9Ya6cmgvMCHEuixIGMPy4ewrrGefTeaQHJngJYIBFg0IZ/Jw7IsxB6+jlbPWMBC71RcElK8unLRFQrSrWOiG1PyqEnLFUnKahetoo9DL7Jx05vUnZTMseUV7ChdRopuGJSQjQ/C7AqdWLBkyXG5dELjimo8Ke4Ymylt4ZsYyVKMDbPKuLOxlo0li5mWlUOuZxA5aQPJHzGaNTPmc6VqL/vLVpJuFsd6Cy29Pf15CZnpg6jxLeXymp3c21pP8/ZDXKuooa5sFd4hIxJNE/TMP5MmWP6T+gMAAP//2pcnmwAAAAZJREFUAwDVQGPm0MvQLAAAAABJRU5ErkJggg==).
4. Enter a name for the protection you want to declare.
5. (Optional) Enable the Protect system with BMR option (Windows only). By default, this option is not set. This option makes it possible to restore a complete Windows agent, including the system, applications, and data. Defined protection rules can be bypassed when BMR is enabled. Make sure to enter the correct path for applications that are not installed in the default directory.
6. Select a protection zone to which the protection applies, then press Enter or click +. A list of rules is displayed. These rules let you control the protection behavior adopted for these zones.
7. Select a rule to use for the selected protection zone. If you want your protection schedule to be shared across multiple protection zones, you can add other protection zones to the protection schedule. If you want to exclude the entire protection zone from protection, select the Do not protect any object rule.
8. Click **Create** to declare the protection zone associated with the protection schedule.

To apply a protection schedule to a specific agent, open that agent's detailed card, then change the selected protection.

### Modifying a protection schedule

1. In the **Administration Console**, select **Backup > Protections.**
2. Select a tenant at the top of the page.
3. Click a protection schedule in the list, then edit the schedule's settings. For more details, see [Creating a protection schedule.](#creating-a-protection-schedule)
4. Save your changes.

### Applying a protection schedule and strategy to an agent

1. Open the Lina Administration Console.
2. Select Agents to display the agent list.
3. In the agent list, select the agent you want to modify.
4. In the Properties section, select a protection and a strategy.

You can also create a new protection or strategy and apply it to the agent using the + button.

5. Click **Save**.

The data to protect on your Lina Agent is now protected by the Lina server, using the protections and strategies you selected.

### Assigning a quota to an agent

Administrators can limit the volume that can be protected on an agent by setting a quota in the strategy applied to that agent.

1. In the Lina Administration Console, open the agent list, then click an agent.
2. In the Properties section, open the card of the strategy used for the agent, by clicking the pencil icon next to the strategies list.
3. In the strategy properties, enable the Limit protected volume option, then set a threshold (Quotas section).
4. Save your changes.

Agents are automatically updated. On the agent interface, the ![](https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-0cddc018ff1c1f20fdc275d4f1c9855e540a7d31%2Funknown%20\(8\).png?alt=media) icon indicates that an update is in progress on the agent.


---

# 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/lina-7.4/lina-7.4-en/administration-guide/getting-started/configuring-agents-on-the-server.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.
