# Instant Recovery

## <mark style="color:green;">Tổng quan</mark> <a href="#overview" id="overview"></a>

**Instant Recovery** cho phép khôi phục VM nhanh chóng. VM sẽ được gắn trực tiếp vào host từ tệp sao lưu trên backup repository. Tuy nhiên, hiệu suất I/O sẽ bị giới hạn, do đó cần **migrate VM sang môi trường production** sau khi khôi phục thành công.

## <mark style="color:green;">**Yêu cầu**</mark>

* Kiểm tra tài nguyên khả dụng.
* Tạo một vApp mới để khôi phục VM.

**\*\*\* Trong quá trình khôi phục**

Chỉ có restore và migrate từng VM một.

**\*\*\* Nếu muốn restore và migrate nhiều VM cùng lúc:**

* Vui lòng liên hệ **HI GIO support**.

## <mark style="color:green;">Quy trình</mark> <a href="#main-step" id="main-step"></a>

* Chọn VM và restore point cần được khôi phục bằng **Instant recovery**.
* Chọn Restore mode.
* Verify trạng thái restore
* Migrate và Verify VM.

{% stepper %}
{% step %}
**Bước 1**: Từ menu chính của **vCD Portal**, chọn **More** → **Data Protection with Veeam**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/XHIQ9Ru2zfv3qGd3SxMR/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/rQGEB4UNn8MaIXlH7GGx/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 2**: Chọn tab **VMs**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/ib3Z8px409TWdOyl7XLm/image.png" alt=""><figcaption></figcaption></figure>

&#x20;

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/5OGtP1rdw4cncwFAvMGz/image.png" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}
**Bước 3**: Chọn VM cần restore → **Instant Recovery**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/MNBFEZIlcFmBBC6JNmd4/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4**: Tại mục **Restore Point**

* Chọn ngày backup cần restore → **Next**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/qQ8rega3xFZDKIo4NLB7/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 5**: Tại mục **Restore mode:**

Có 2 chế độ:

**\*\*\* Restore to the original location:** Khôi phục nhanh VM được chọn về vị trí gốc với tên và cấu hình ban đầu. Lựa chọn này giảm thiểu các lỗi do user nhập sai.

* VM restore sẽ ghi đè lên VM gốc.
* VM gốc sẽ bị tắt và xóa sau khi restore thành công.

→ Làm theo <mark style="color:red;">**Bước 5.1**</mark>

&#x20;**\*\*\* Restore to a new location or with different settings:Tùy chỉnh vị trí restore của VM và thay đổi cấu hình.** Trình hướng dẫn sẽ tự động điền tất cả các điều khiển với cài đặt VM gốc làm mặc định.

* Chế độ này sẽ tiêu tốn thêm tài nguyên, vì vậy hãy kiểm tra tài nguyên sẵn có của bạn và liên hệ **HI GIO-Sales** nếu cần thêm tài nguyên để restore VM.
* Cần tạo một **vApp** mới để restore VM.

→ Làm theo <mark style="color:red;">**Bước**</mark><mark style="color:red;">**&#x20;**</mark>*<mark style="color:red;">**5.2**</mark>*

#### **Bước 5.1**: Restore to the original location <a href="#step-5.1.-restore-to-the-original-location" id="step-5.1.-restore-to-the-original-location"></a>

**5.1.1**: Chọn **Next**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/e84z0hzN6qdv8Rz2SnM0/image.png" alt=""><figcaption></figcaption></figure>

&#x20;**5.1.2**: Tại mục **Summary**

* Verify thông tin restore của VM → Chọn **Power on VM automatically** → **Finish**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/nBqd1PkmUnpipQgBOJq1/image.png" alt=""><figcaption></figcaption></figure>

#### **Bước 5.2**: **Restore to a new location, or with different settings**  <a href="#step-5.2-restore-to-a-new-location-or-with-different-settings" id="step-5.2-restore-to-a-new-location-or-with-different-settings"></a>

**5.2.1**: Chọn **Next**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/3YEhH1Lkl220xkWLTRyv/image.png" alt=""><figcaption></figcaption></figure>

**5.2.2**: Tại mục **Destination**

Chỉ định **vApp** để restore VM và nhập tên mới cho VM.

* Nhấp chọn **Choose...**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/uiVQS5B4YiH7fBzqHFlm/image.png" alt=""><figcaption></figcaption></figure>

* Chọn **vApp** đã tạo trước đó.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/V5bW0UpvgoKDBnUc28TE/image.png" alt=""><figcaption></figcaption></figure>

* Thay đổi tên VM → **Next**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/NXCNHl03OewlKMZ64cF4/image.png" alt=""><figcaption></figcaption></figure>

&#x20;

**5.2.3 Tại mục Network**

* Giữ mặc định → Chọn **Next**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/uBQaYiHPtuR0zOFZAQR5/image.png" alt=""><figcaption></figcaption></figure>

&#x20;

**5.2.4**: Tại mục **Summary**

* Verify thông tin restore của VM → Chọn **Power on VM automatically** → **Finish**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/kGoq85sTpPuyohJJ0NMY/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 6**: Kiểm tra trạng thái restore của VM

* Chọn tab **VMs** → **History** để kiểm tra trạng thái restore

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/URuORmYv7iANMYeZfoS7/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/sDXCwpDP4VWwCsOydz9f/image.png" alt=""><figcaption></figcaption></figure>

&#x20;

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/7u9AAI4eudPlw0mX5HoX/image.png" alt=""><figcaption><p>VM restore has been recovered successfully, we can back to vCD portal to check the data</p></figcaption></figure>

* Quay lại vCD portal, VM  khôi phục đã được power on

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/lt44vc7Xrtv3buD7v9Ce/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Khi **Instant recovery** được thực hiện:\
**Veeam Backup & Replication** sử dụng công nghệ **vPower** để mount workload trực tiếp vào một ESXi host từ file backup đã nén và deduplicated backup file.\ <mark style="color:red;">**Không được tắt hoặc Power Off VM để tránh mất dữ liệu**</mark>

<mark style="color:red;">**Tiến hành Bước 7 và Bước 8 để hoàn tất quá trình khôi phục.**</mark>
{% endhint %}
{% endstep %}

{% step %}
**Step 7:** Migrate to Production

**\*\*\*&#x20;**<mark style="color:red;">**Sau khi kiểm tra dữ liệu trên VM đã restore, nếu chứa dữ liệu mong muốn, bạn cần migrate sang môi trường production để đảm bảo hiệu suất I/O cho VM.**</mark>

* Trở lại **Data Protection with Veeam** → **Instant Recovery**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/AehsN2HmDn9AxphbolXc/image.png" alt=""><figcaption></figcaption></figure>

* Chọn VM đã restore → **Migrate to Production**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/kJS7H2sJ2EC4JRYXM75h/image.png" alt=""><figcaption></figcaption></figure>

* Tại mục **Destination**, chọn **Choose...**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/EHFuUsl0h0Bm0Yy8zy9S/image.png" alt=""><figcaption></figcaption></figure>

* Chọn **Storage Policy** → **OK**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/woKmO8Kub1W31QuPCLjb/image.png" alt=""><figcaption></figcaption></figure>

* Chọn **Next**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/fQn2DlJXjVHsBTs4PFG3/image.png" alt=""><figcaption></figcaption></figure>

* Tại mục **Ready**, chọn **Finish**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/Ufqn8v7AR1XLghgDNEdx/image.png" alt=""><figcaption></figcaption></figure>

* Để kiểm tra trạng thái migrate của VM restore, chọn **VMs** → **History**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/MyxG3kfBMwWyAEXLrviX/image.png" alt=""><figcaption></figcaption></figure>

* Chọn VM restore

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/MtueeAM3sJiXSrnolBGj/image.png" alt=""><figcaption></figcaption></figure>

* VM restore đã migrate về production

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/4v1eee2h1tGL3SqAFqDJ/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 8**: Xác minh thông tin VM restore

**\*\*\* Để đảm bảo khôi phục VM đã chạy với cấu hình chính xác, hãy quay lại cổng vCD và kiểm tra:**

* Hard disk (Duong lượng, IOPS, Storage Policy)

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/E3beAYk4Al8ChWXmdHq9/image.png" alt=""><figcaption></figcaption></figure>

* Compute (CPU, Memory)

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/3whehV8xBgs4aFfnV5d0/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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.higiocloud.vn/hi-gio-user-guide-vn/back-up-as-a-service/2.-hi-gio-backup/instant-recovery.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.
