---
title: "Connect backup using agents"
sidebar_label: "Connect backup using agents"
sidebar_position: 2
description: "How to connect backup using agents"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'

# Connect agent-based backup

1. [Order the Agent-based Backup service](#order-service).
2. [Connect to the Veeam Service Provider Console portal](#connect-to-console).
3. [Download the management agent](#download-management-agent).
4. [Install the management agent](#install-management-agent).
5. [Install the backup agent](#install-backup-agent).
6. [Configure backup](#configure-backup).

## 1. Order the Agent-based Backup service \{#order-service}

1. In the [control panel](https://my.selectel.ru/services/veeam-agent/home/), on the top menu, click **Products** and select **Veeam Agent**.
2. Click **Order Veeam Agent service**.
3. Specify the number of agents.
4. Specify the amount of storage space in the repository (must be a multiple of 50 GB).
5. Click **Pay**.
6. We will create a ticket containing the login and password needed to access the Veeam Service Provider Console portal.

## 2. Connect to the portal \{#connect-to-console}

Learn more about working with the portal in the [Working with the Veeam Service Provider Console portal](/veeam-agent/manage/) section.

1. Open the Veeam Service Provider Console portal ([vac.selectel.ru](http://vac.selectel.ru/)).
2. In the **Username** field, enter the [portal access credentials from the ticket](#order-service): `Company\User`.
3. Enter the password.
4. Click **Log in**.

## 3. Download the management agent \{#download-management-agent}

1. On the [Veeam Service Provider Console](https://vac.selectel.ru) portal, go to **Discovery** → **Discovered Computers**.
2. Open the **Computers** tab.
3. Click **Download Management Agent** and select the operating system.
4. Specify the desired duration for the installation script and click **Download**. The installation script will be downloaded locally:

   * Linux: `LinuxAgentPackages.sh` file
   * Windows: `ManagementAgent.exe` file

## 4. Install the management agent \{#install-management-agent}

Once connected, the management agent will be available in the [Veeam Service Provider Console](https://vac.selectel.ru) portal for [backup agent installation](#install-backup-agent) and [backup configuration](#configure-backup).

<Tabs queryString="os-management-agent">
  <TabItem value="linux" default>
    <TabItemLabel>
      Linux
    </TabItemLabel>

    1. Copy the installation script to the required server.

    2. Install the management agent:

       ```bash
       sudo ./’LinuxAgentPackages.sh’
       ```

    3. Open the management agent configuration file (`/etc/veeamma/config.cfg`).

    4. For the `vcf_handshake_timeout` parameter, set the value to `120000`.

    5. Restart the management agent:

       ```bash
       sudo veeamconsoleconfig --restart_service
       ```

    6. Check the connection status:

       ```bash
       sudo veeamconsoleconfig -s
       ```

    7. If the management agent has not connected, it will retry until the connection is successful. You can initiate a manual connection attempt by restarting the agent:

       ```bash
       sudo veeamconsoleconfig --restart_service
       ```
  </TabItem>

  <TabItem value="windows">
    <TabItemLabel>
      Windows
    </TabItemLabel>

    Agents must be installed and configured using an account with local administrator rights on the nodes to be backed up. The rights required for connecting the management agent to gateways are the same as those for connecting to the Veeam Service Provider Console portal.

    You can install the agent directly on the node to be backed up, or download the distribution to a local machine and then copy it to each node to be backed up.

    1. Run the downloaded management agent distribution on the node with local administrator rights.

    2. Accept the license agreement.

    3. Leave the other parameters unchanged, start the installation, and wait for it to complete.

    4. Launch the Veeam Management Agent application.

    5. Optional: to verify the certificate thumbprint installed on the Veeam Service Provider Console and Veeam Cloud Connect® portal, specify `6531266DCB159898444100955268C7F6853968F9`.

    6. Optional: specify local administrator rights for the subsequent backup agent installation from the portal. Input format:

       * `.\Administrator` — for a local account; ;
       * `Domain\Administrator` — for a domain account.

    7. Click **OK**.

    8. Verify that the agent status has changed to **Connected**.
  </TabItem>
</Tabs>

## 5. Install the backup agent \{#install-backup-agent}

<Tabs queryString="os-backup-agent">
  <TabItem value="linux" default>
    <TabItemLabel>
      Linux
    </TabItemLabel>

    1. On the [Veeam Service Provider Console](https://vac.selectel.ru) portal, go to **Discovery** → **Managed Computers**.
    2. Open the **Discovered Computers** tab.
    3. Select all nodes with connected management agents.
    4. Click **Install product** → **Install Backup Agent**.
    5. In the backup agent installation window, select a backup policy or create a new one. You will be able to edit the policy or select a different one later.
    6. Click **Apply**.
  </TabItem>

  <TabItem value="windows">
    <TabItemLabel>
      Windows
    </TabItemLabel>

    1. On the [Veeam Service Provider Console](https://vac.selectel.ru) portal, go to **Discovery** → **Managed Computers**.
    2. Open the **Discovered Computers** tab.
    3. Select all nodes with connected management agents.
    4. Click **Install Backup Agent**.
    5. The backup agent installation window will open.
    6. If local administrator rights were specified when configuring the management agent, in the **Use guest OS credentials from** block, select **Account specified in the discovery rule or in the management agent settings**.
    7. If local administrator rights were not specified, select **The following user account** → **+ Create New** and enter the node's local administrator credentials:

       * if using a local account, add `.\` before the name (local user, for example `.\Administrator`);
       * if using a domain account, use the `Domain\Name` format. To install backup agents on multiple nodes simultaneously, the account must be present on each of them.
    8. Optional: to attach a backup policy to the selected nodes during backup agent installation, in the **Backup policy to apply** menu, select a policy or click **+ Create New** to create a new one. The **Enable read only UI access for the backup agent** toggle will be enabled automatically. It determines the **Agent UI Mode**, which allows managing the backup agent locally on the node as soon as it is installed.
    9. If you want to add a policy later, select **No policy**.
    10. Click **Apply**.
  </TabItem>
</Tabs>

## 6. Configure backup \{#configure-backup}

You can configure backup rules and schedules:

* on the [Veeam Service Provider Console](https://vac.selectel.ru) portal. More details can be found in the Creating Backup Policies section of the Veeam documentation: [Linux](https://helpcenter.veeam.com/docs/vac/provider_user/create_backup_policies_linux.html?ver=70), [Windows](https://helpcenter.veeam.com/docs/vac/provider_user/create_backup_policies.html?ver=70);
* on the backup agent. More details can be found in the Creating Backup Job section of the Veeam documentation: [Linux](https://helpcenter.veeam.com/docs/agentforlinux/userguide/backup_job_create_gui.html?ver=60), [Windows](https://helpcenter.veeam.com/docs/agentforwindows/userguide/backup_job_create.html?ver=60).

When configuring the Retention Policy in the backup policy (step 8), keep in mind that the last known retention policy applies to all backups for which the retention period is specified in days. If you delete or disable the backup policy, the backups will be deleted after the specified number of days. To prevent this, choose retention in restore points.

<Formbricks />
