---
title: "Connect S3 to Veeam Backup & Replication™"
sidebar_label: "Connect storage to Veeam Backup & Replication™"
sidebar_position: 12
description: "How to connect S3 to Veeam Backup & Replication™ for backup storage"
---

import Formbricks from '@theme/MDXComponents/Formbricks'

# Connect S3 to Veeam Backup & Replication™

You can store backups created with Veeam Backup & Replication™ in S3.

1. [Create a bucket](#create-bucket).
2. [Set up access](#grant-access).
3. [Add a repository to Veeam Backup & Replication™](#add-repository-vbr).

## 1. Create a bucket \{#create-bucket}

1. In the [control panel](https://my.selectel.ru/storage/), on the top menu, click **Products** and select **S3**.
2. Go to the **Buckets** section.
3. Click **Create bucket**.
4. Enter the bucket name. For S3 API compatibility, the bucket name must be unique within S3 and meet the Amazon S3 bucket naming rules; more details are in the [Bucket naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) section of the Amazon documentation.
5. Select the [region and pool](/infrastructure/locations.mdx) where the bucket will be created.
6. Select the private bucket type.
7. Select the [storage class](/s3/about/payment.mdx#storage-types) — cold storage.
8. Select the [addressing type](/s3/buckets/addressing-types.mdx) — vHosted.
9. Click **Create bucket**.

## 2. Set up access \{#grant-access}

Access can be set up by the [Account Owner](/access-control/user-types.mdx#account-owner) or a user with the [`iam.admin`](/access-control/role-reference.mdx#iam-admin) role.

1. [Create a service user](/access-control/manage/add-user.mdx#add-service-user) with [a role with access to S3](/s3/about/manage-access.mdx#access-within-roles). If you use a user with the [`s3.user`](/access-control/role-reference.mdx#s3-user), [`object_storage_user`](/access-control/role-reference.mdx#object-storage-user) or [`s3.bucket.user`](/access-control/role-reference.mdx#s3-bucket-user) role, the bucket must have a [bucket policy configured](/s3/buckets/bucket-policy/).
2. [Issue an S3 key to the user](/access-control/manage/edit-user-data-or-role.mdx#issue-s3-key).

## 3. Add a repository to Veeam Backup & Replication™ \{#add-repository-vbr}

1. Log in to Veeam Backup & Replication with your account.

2. Go to the **Backup Infrastructure** → **Backup Repositories** section.

3. Click **Add repository**.

4. Select **Object storage** → **S3 Compatible** → **S3 Compatible**.

5. On the **Name** step:

   5.1. In the **Name** field, enter the repository name.

   5.2. Optional: in the **Description** field, enter a description.

   5.3. Optional: to prevent backup server overload, limit the number of concurrent tasks. To do this, select the **Limit concurrent tasks to** checkbox and specify the number of backups.

   5.4. Click **Next**.

6. On the **Account** step:

   6.1. In the **Service point** field, enter the [S3 API domain](/s3/manage/domains.mdx#s3-api-domains) in the [pool](/infrastructure/locations.mdx#pool) where the bucket is located.

   6.2. In the **Region** field, enter the pool where S3 is located.

   6.3. In the **Credentials** field, click **Add** to add the S3 key you issued when [setting up access](#grant-access):

   * **Access key** — the value of the **Access key** field from the S3 key; ;
   * **Secret key** — the value of the **Secret key** field from the S3 key.

   6.4. Click **OK**.

   6.5. In the **Connection Mode** field, click **Choose** and select the S3 connection method. To configure the S3 connection:

   * directly — select **Direct**;
   * through a specific Veeam infrastructure server — select **Through gateway server** and enter the gateway server.

   6.6. Click **Next**.

7. On the **Bucket** step:

   7.1. In the **Bucket** field, click **Browse**, select a bucket, and click **OK**.

   7.2. In the **Folder** field, click **Browse**, enter the name of the folder that will be created in the bucket, and click **OK**.

   7.3. Optional: to limit storage consumption, select the **Limit object storage consumption to** checkbox and enter the storage limit.

   7.4. Click **Next**.

8. On the **Mount Server** step:

   8.1. In the **Mount server** field, select a server. Server selection depends on what you chose at the **Account** step in the **Connection Mode**:

   * if you chose **Direct**, in the **Mount server** field, select the backup server; ;
   * if you chose **Through gateway server**, in the **Mount server** field, select the server you specified in the **Connection Mode** field.

   8.2. Click **Next**.

9. On the **Review** step:

   9.1. Check the settings.

   9.2. Optional: if you are connecting a bucket that was previously used to store Veeam backups, to import existing backups, select the **Search the repository for existing backups and import them automatically** checkbox.

   9.3. Click **Apply**.

10. On the **Apply** step:

    10.1. Wait for the settings to be saved — a green checkmark will appear in each line.

    10.2. Click **Next**.

11. On the **Summary** step, click **Finish**.

<Formbricks />
