# Step 2: Initialize Repository

Before performing a backup, you must create a storage location (Repository) where all the data you want to keep safe will be stored. Here are the instructions for initializing a Repository.

Additionally, Veeam provides the Scale-out Repository function, which can be understood as creating a Group Repository, helping you to back up data to multiple locations at the same time, ensuring high availability when troubleshooting.

### Follow these steps to initialize a Backup Repository:

1. Open Veeam Backup & Repository software, enter login information, and click "**Connect**";
2. In "Backup Infrastructure", select "**Backup Repositories**", then click the "**Add Repository**" button;
3. In the "Add Backup Repository" interface, select "**Object storage**";
4. Choose "**S3 Compatible**";
5. In the "New Object Storage Repository" interface, enter a name in the Name section and then click "**Next**";
6. In the "Account" step, fill in the **Service Point, Region, Credentials** (with Access key and Secret key), then click "**Next**";
7. In the "Bucket" step, select the **Bucket and folder** to back up the data to. Then click "**Next**";

{% hint style="info" %}
**Important about Immutable:**

* You need to select the option: "<mark style="color:red;">**Make recent backups immutable for (30) days**</mark>";
* To protect the backups from being altered or deleted by other users, ransomware, or hackers. The backups are set to be immutable during this time.
  {% endhint %}

8. In the "Mount Server" step, click "**Next**";
9. In the "Review" step, click "**Apply**". The system will process the creation of the Repository;
10. Click "**Finish**" to complete the Repository creation process.

***

### Follow these steps to initialize a Scale-out Repository:

1. Open Veeam Backup & Repository software, enter login information, and click "**Connect**";
2. In "Backup Infrastructure", select "**Scale-out Repositories**", right-click and select "**Add Scale-out backup Repository**";
3. In the "New Scale-out Backup Repository" interface, name the Repository, then click "**Next**";
4. Click "**Add**" to select the Backup Repositories (already created) you want to include in the Group Repositories;

{% hint style="info" %}
**Note:**

The Repositories must have the same Immutable configuration and be of the same Object Storage type.
{% endhint %}

5. In "Capacity Tier", continue to click "Apply". The system will process the creation of the Repository;
6. Click "**Finish**" once the creation is successful.

***

### Installation Guide Video

Updating

***

### Example: Creating Backup Repository guide with Veeam Backup & Replication version 12

**Step 1**: Access using the software;

<figure><img src="/files/in711YSc1KgQy3gl9xtL" alt="" width="342"><figcaption></figcaption></figure>

**Step 2:** Select "**Backup Infrastructure**", then "**Backup Repositories**", click the "**Add Repository**" button to start setting up the Repository:

<figure><img src="/files/Jmb5WEKUntpjJ3U2vZLx" alt="" width="477"><figcaption></figcaption></figure>

**Step 3**: In the Add Backup Repository screen, select the "**Object storage**" option.

<figure><img src="/files/1WYDfRd8s1TLKznUhST3" alt="" width="423"><figcaption></figcaption></figure>

**Step 4:** In the Object Storage screen, choose the "**S3 Compatible**" option or select the appropriate object choice for backup.

<figure><img src="/files/23a6uD6BALpUqJHcnpwR" alt="" width="430"><figcaption></figcaption></figure>

**Step 5:** Navigate to the "New Object Storage Repository" screen to start creating the Repository (backup location). In the "**Name**" step, users set the name and description for the Repository. Then click "**Next**".

<figure><img src="/files/glHhFoMsamGSjfcvVeMX" alt="" width="563"><figcaption></figcaption></figure>

**Step 6:** In the "**Account**" step, users fill in the following information and press "Next":

* Service Point: <https://hcm03-encrypt-vstorage.vngcloud.vn>
* Region: **HCM03**
* Credentials: click "Add" to enter "**Access key**" and "**Secret key**". To create the key, refer to the guide on creating an [S3 key](/vng-cloud-document/vstorage/object-storage/vstorage-hcm03/identity-and-access-management/managing-vstorage-access-account/service-account/vstorage-credentials/create-a-s3-key.md).

<figure><img src="/files/nipwy6xbxuVIiUxN56HP" alt="" width="563"><figcaption></figcaption></figure>

**Step 7:** In the "Bucket" step, users select a previously created Container on vStorage (see the guide to creating a Container[ here](/vng-cloud-document/vstorage/object-storage/vstorage-hcm03/features-of-vstorage/working-with-containers/create-a-container.md)). At the same time, users choose or create a new folder to store the backup data into that folder. Then click "Next".

<figure><img src="/files/ux8IrvuxsQlexdynbFHI" alt="" width="563"><figcaption></figcaption></figure>

**Note:** Users need to select the option: "Make recent backups <mark style="color:red;">**immutable**</mark> for 30 days". With this option, it helps protect the copy from risks and prevents modification or deletion of the backup over a certain period, ensuring a clean backup copy is always available for system restoration in case of attack or incident.

<figure><img src="/files/B0NWcBGh9As4nYObYNeW" alt="" width="464"><figcaption></figcaption></figure>

**Step 8:** In the "**Mount Server**" screen, users can choose the server needed to backup data, then click "**Next**".

<figure><img src="/files/mSK2F7BdrjYDnvtkfwdj" alt="" width="563"><figcaption></figcaption></figure>

**Step 9:** Users continue to press "**Apply**" at the Review screen.

<figure><img src="/files/6y9Ia0jIyxq6vQfbJwiI" alt="" width="563"><figcaption></figcaption></figure>

**Step 10:** After pressing "**Apply**", the system will proceed to process the creation of the Repository.

<figure><img src="/files/h2uyoV6GdFA23rbaAHso" alt="" width="563"><figcaption></figcaption></figure>

**Step 11:** When completed, users press "**Finish**".

<figure><img src="/files/CGRgwRmjfKCLKRtFescL" alt="" width="563"><figcaption></figcaption></figure>

After completing the Repository creation process.


---

# 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.vngcloud.vn/vng-cloud-document/vstorage/backup-voi-veeam/bat-dau-voi-veeam/buoc-2-khoi-tao-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.
