# 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-a45c5f1a44d5e7d33352d39a4d80c8b8edd623d4%2Fimage.png?alt=media" 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-f3f9f321f1fcc7e83feb0c9b2af4b0afe2ddc595%2Fimage.png?alt=media" alt="" width="477"><figcaption></figcaption></figure>

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

<figure><img src="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-9afdd37421c9e7bad8993e74e2515ed2f983f388%2Fimage.png?alt=media" 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-054b2adb21f95e00d8342db43a9866f2bfdabc5d%2Fimage.png?alt=media" 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-de3fc7774f51ec98b6cd990d982df5b9063cbbf3%2Fimage.png?alt=media" 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](https://docs.vngcloud.vn/vng-cloud-document/vstorage/object-storage/vstorage-hcm03/identity-and-access-management/managing-vstorage-access-account/service-account/vstorage-credentials/create-a-s3-key).

<figure><img src="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-042f5303ad2a69b3d2fa7cd291a7fe73528aad4b%2Fimage.png?alt=media" 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](https://docs.vngcloud.vn/vng-cloud-document/vstorage/object-storage/vstorage-hcm03/features-of-vstorage/working-with-containers/create-a-container)). 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-5a0bd31d8ed7a20a6f26f4568106c63154b5457d%2Fimage.png?alt=media" 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-e1e26ec9c9603231a7f2b0f826a98404d5725e1c%2Fimage.png?alt=media" 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-f4092188fc9d778ceecc11e028e8694004220ac9%2Fimage.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

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

<figure><img src="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-f6d1fa2c52cb369eab9916a8aae6d64191b6cfb4%2Fimage.png?alt=media" 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="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-b7565875f67672a49befaa60423433cab6613289%2Fimage.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

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

<figure><img src="https://1985221522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7rE7M1L7GYcwQzNGd0aB%2Fuploads%2Fgit-blob-b00e596b8d504784577825013639ad3fff5880f6%2Fimage.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

After completing the Repository creation process.
