# Step 4: Reverse replication of the VM from HI GIO Cloud to On-Premises

## <mark style="color:green;">**Overview**</mark>  <a href="#overview" id="overview"></a>

After the on-premises site has **recovered from the issue** and is **available**, we can migrate the workload (APP1, DB1) from the HI GIO cloud back to on-premises by reversing the replication.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% stepper %}
{% step %}
**Step 1:** Log on to the HI GIO portal.
{% endstep %}

{% step %}
**Step 2:** Expand **More** > Click on **Availability ()**

<figure><img src="/files/TEFV84UPXMkw8TzWFkXH" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 3:** Click **Incoming Replications >** Check the checkbox for vAPP1 > Expand ALL ACTIONS > Click on **Reverse.**

You can also select individual VMs in this step.

<figure><img src="/files/D6COU4HXq2VaEhrm6PJK" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 4:** Confirm Reverse Replication from HI GIO Cloud to on-prem. Click **REVERSE**.

<figure><img src="/files/buXIEJ0kkmdmkC902BNG" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 5:** Expectation result:

1. Reverse Replication is in progress. You can monitor the progress of the Reverse task in the Last changed section and replicate the state.

<figure><img src="/files/35sESYmoLHVajD4fwpXo" alt=""><figcaption></figcaption></figure>

2. Reverse Replication is Completed. Here, APP1 & DB1 are replicated back to On-Prem, and the Recovery State is Reversed.

<figure><img src="/files/VxxvsS1DHAS1A0Xkyhlh" 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-draas/failover-scenario/failover/step-4-reverse-replication-of-the-vm-from-hi-gio-cloud-to-on-premises.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.
