Connect S3 to Veeam Backup & Replication™
You can store backups created with Veeam Backup & Replication™ in S3.
1. Create a bucket
- In the Control panel, in the top menu, click Products and select S3.
- Go to Buckets.
- Click Create bucket.
- Enter a bucket name. For compatibility with the S3 API, the bucket name must be unique within S3 and comply with Amazon S3 bucket naming rules; for more information, see the Bucket naming rules guide in the Amazon documentation.
- Select the region and pool where the bucket will be created.
- Select the private bucket type.
- Select the storage class — Cold storage.
- Select the addressing type — vHosted.
- Click Create bucket.
2. Set up access
Access can be configured by the Account Owner or a user with the iam.admin role.
- Create a service user with a role with access to S3. If you use a user with the
s3.user,object_storage_user, ors3.bucket.userrole, the bucket must have a configured bucket policy. - Issue an S3 key to the user.
3. Add a repository to Veeam Backup & Replication™
-
Log in to Veeam Backup & Replication with your account.
-
Go to Backup Infrastructure → Backup Repositories.
-
Click Add repository.
-
Select Object storage → S3 Compatible → S3 Compatible.
-
At 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.
-
At the Account step:
6.1. In the Service point field, enter the S3 API domain in the 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 and add the S3 key you issued when configuring access:
- Access key — value of the Access key field from the S3 key;
- Secret key — 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 how to connect to S3. To connect to S3:
- directly — select Direct;
- through a specific Veeam infrastructure server — select Through gateway server and enter the server gateway.
6.6. Click Next.
-
At the Bucket step:
7.1. In the Bucket field, click Browse, select the bucket, and click OK.
7.2. In the Folder field, click Browse, enter the name of the folder to be created in the bucket, and click OK.
7.3. Optional: to limit the amount of stored data, select the Limit object storage consumption to checkbox and enter the value to limit the storage capacity.
7.4. Click Next.
-
At the Mount Server step:
8.1. In the Mount server field, select a server. The server choice depends on what you selected at the Account step in the Connection Mode field:
- if you selected Direct, in the Mount server field, select the backup server;
- if you selected Through gateway server, in the Mount server field, select the server specified in the Connection Mode field.
8.2. Click Next.
-
At the Review step:
9.1. Check the settings.
9.2. Optional: if you are connecting a bucket that was previously used for storing Veeam backups, to import existing backups, select the Search the repository for existing backups and import them automatically checkbox.
9.3. Click Apply.
-
At the Apply step:
10.1. Wait for the settings to be saved — a green checkmark will appear in each line.
10.2. Click Next.
-
At the Summary step, click Finish.