> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](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).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
