# Add a Backup Repository

In May 2024, we started to introduce regions with contract-owned buckets, providing enhanced performance and resilience. Contract-owned buckets are available in the `eu-central-3` region or in the `us-central-1` region. A new 92-character access key is required for this region.

To add a backup repository, follow these steps:

1\. **Create a new access key:** Check your access key length in the [<mark style="color:blue;">Key Management</mark>](https://docs.ionos.com/sections-test/guides/storage-and-backup/ionos-object-storage/concepts/key-management). If it is 20 characters long, you need to create a new 92-character key compatible with all regions. For more information, see [<mark style="color:blue;">Generate a Key</mark>](https://docs.ionos.com/sections-test/guides/storage-and-backup/ionos-object-storage/get-started/generate-key).

2\. **Create a new contract-owned bucket with an Object Lock:** Create a new contract-owned bucket in one of the regions with **Object Lock** enabled. For more information, see [<mark style="color:blue;">Create a Bucket</mark>](https://docs.ionos.com/sections-test/guides/storage-and-backup/ionos-object-storage/get-started/create-bucket) and refer to the "contract-owned buckets" section.

{% hint style="info" %}
**Note:** Select the **No default retention** option as the mode for the Object Lock.
{% endhint %}

3\. **Create backup repository:** Create an Object Storage as an object repository in Veeam. To do so, follow the steps in [<mark style="color:blue;">Create Object Storage as an object repository in Veeam</mark>](#create-object-storage-as-an-object-repository-in-veeam).

{% hint style="success" %}
**Result:** An object repository is successfully created. In the **Backup Infrastructure** tab, you can view the repository listed under **Backup Repositories**.
{% endhint %}

## Create Object Storage as an object repository in Veeam

To add a new object storage repository on Veeam Backup & Replication, follow these steps:

1\. Navigate to the backup repositories. To do so, go to the **Backup Infrastructure** tab, and click **Backup Repositories** > **Add Repository** to open the wizard for adding new backup repositories.

![Add Repository](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-97865c9f3203c9a30f2e51432f4db49831f7f3c5%2Fs3-veeam-add-repository.png?alt=media)

2\. Select repository type by following these steps:

* Enter a name and an optional description for the object storage repository.
* Select the **Limit concurrent tasks to** checkbox and set the value to **15** for concurrent tasks for every bucket.
* Click **Next**.

![Limit Concurrent Tasks](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-4d7ed0bb0b6e1df06ef0fe23b1e86619e3161b29%2Fs3-veeam-limit-concurrent-tasks.png?alt=media)

3\. Input the endpoint details as follows (for example for the `eu-central-3` region):

* Service endpoint: `https://s3.eu-central-3.ionoscloud.com`
* Region: `eu-central-3`
* Click **Add** to input the access and secret keys.

{% hint style="info" %}
**Info:** Only the 92-character access key supports all the Object Storage regions.
{% endhint %}

* Click **Next**.

4\. Configure bucket and folders by following these steps:

* Enter the bucket name or browse and select from the list.
* Click **Browse** to create a new folder where backups will be stored.
* *(Optional)* Set the limit for used storage and enable backup immutability. The immutability retention period of the Object Storage Repository must be less or equal to the backup retention period of the backup job. For more information, see [<mark style="color:blue;">Set the immutability retention period</mark>](https://docs.ionos.com/sections-test/guides/storage-and-backup/ionos-object-storage/s3-tools/recommended-settings#set-the-immutability-retention-period).
* Click **Next**.

5\. In the **Mount server** tab, keep the default values and click **Next**.

6\. In the **Review** tab, click **Apply** and then click **Next** to continue.

7\. Finalize the repository creation by reviewing the **Summary** and clicking **Finish**.

{% hint style="success" %}
**Result:** An object repository is successfully created as an object repository in Veeam. In the **Backup Infrastructure** tab, you can view the repository listed under **Backup Repositories**.
{% endhint %}

![Backup Repositories](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-a266b8c009fc76420550e8565fd8735ddc3bc3a5%2Fs3-veeam-backup-repositories.png?alt=media)

### Next steps

Continue to [<mark style="color:blue;">Create a Backup Job</mark>](https://docs.ionos.com/sections-test/guides/storage-and-backup/ionos-object-storage/s3-tools/veeam-backup-and-replication/create-backup-job).
