# How to Rollback an Application

Rolling back an application allows you to revert to a previous version if issues arise, ensuring stability with no downtime. On Clouddley, there are three types of rollback: **instant, manual, and automatic**. Rollback is only possible if the app has at least two successful previous deployments. This article outlines the steps to perform each rollback method.

**Rolling Back an Application on Clouddley**

To roll back your application to a previous version, follow these steps:

{% tabs %}
{% tab title="Instant Rollback" %}
**Instant rollback** lets you quickly revert to the last successful deployment with just a few clicks.

* Navigate to **Apps** and select the application to open its **Overview** page.
* Click the **More Options** menu (**⋮**) in the top-right corner.
* From the menu, select **Rollback**.

<figure><img src="/files/x2ryBjEqfkjAsUVmfUBF" alt="User performs instant rollback of an application on Clouddley."><figcaption><p>Instant rollback of  an application on Clouddley</p></figcaption></figure>
{% endtab %}

{% tab title="Manual Rollback" %}
**Manual rollback** allows you to revert to a specific previous deployment by manually selecting and restarting the build.

* Go to **Apps** and open your application's **Overview** page.
* Navigate to the **Deployments** section and select the version you want to rollback to.
* Click the **(⋮) Actions** menu next to the deployment and select **Restart Build**.

<figure><img src="/files/itgOmQ9b4mtahwlDpU2g" alt="User performs manual rollback of an application on Clouddley."><figcaption><p>Manual rollback of an application on Clouddley</p></figcaption></figure>
{% endtab %}

{% tab title="Automatic Rollback" %}
**Automatic rollback** occurs when a deployment fails due to a bug. Clouddley detects the failure and automatically reverts to the last successful deployment, ensuring stability without manual intervention.
{% endtab %}
{% endtabs %}

Rolling back an application is a quick and effective way to restore a stable version when needed. By following these steps, you can easily revert changes and maintain the reliability of your application. For further assistance, contact support.


---

# 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.clouddley.com/apps/extras/how-to-rollback-an-application.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.
