# Move 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 move a backup repository to one of these regions, follow these steps (example configuration for region `eu-central-3`):

1\. **Create a new access key:** Check your access key length in the [<mark style="color:blue;">Key Management</mark>](https://docs.ionos.com/cloud/backup-and-storage/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/cloud/backup-and-storage/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 the `eu-central-3` region with Object Lock enabled. For more information, see [<mark style="color:blue;">Create a Bucket</mark>](https://docs.ionos.com/cloud/backup-and-storage/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\. **Set up Veeam storage optimization:** To do so, follow the steps in [<mark style="color:blue;">Set up Veam storage optimization</mark>](#set-up-veeam-storage-optimization).

4\. **Create backup repository:** Creta 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>](https://docs.ionos.com/cloud/backup-and-storage/ionos-object-storage/s3-tools/add-backup-repository#create-object-storage-as-an-object-repository-in-veeam).

5\. **Move the backup repository:** You need to move the backup repository to the new Object Storage region. To do so, follow these steps:

* Right-click on the **Backup Jobs** name in the **Object Storage** section of the **Backup** tab and select **Move backup**.

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

* Specify the target repository to move backups to and click **OK**. The migration of your backup repository will start. The data will be transferred directly from one region to another.

**Result:** The Veeam backup repository is successfully moved to the `eu-central-3` Object Storage region.

## Set up Veeam storage optimization

1\. Click the **Backup** section under **Jobs**.

2\. Select the required backup job, right-click on it, and choose **Edit** in the menu.

3\. Click **Storage**, go to **Advanced Settings** and change the tab to **Storage**.

{% hint style="info" %}
**Note:** We recommend using at least 4 MB in Veeam to benefit from better performance, and 8 MB storage blocks are a preferred choice, but these blocks are unavailable in the interface by default and must be enabled via a registry key.
{% endhint %}

4\. In the **Storage optimization** dropdown list, choose 4 MB or 8 MB (marked as "not recommended"). Disregard this "not recommended" mark that you see in the web interface.

5\. *(Optional)* If you want to benefit from better performance, follow the instructions to enable 8 MB blocks:

* Open the Registry Editor.
* Navigate to `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication`
* Add a new `DWORD` (32-bit) value named `UIShowLegacyBlockSize`.
* Set the value of `UIShowLegacyBlockSize` to 1. Now, the 8 MB block option will be available in the interface.
* To apply the new storage configuration as the default for all future backup jobs, click **Save as Default** at the bottom of the Advanced Settings screen. This will ensure the settings are automatically used for any new backup jobs created.

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

{% hint style="success" %}
**Result:** The Veeam storage optimization is successfully set up.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/backup-and-storage/ionos-object-storage/s3-tools/veeam-backup-and-replication/move-backup-repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
