> For the complete documentation index, see [llms.txt](https://releaseowl.gitbook.io/releaseowl-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://releaseowl.gitbook.io/releaseowl-docs/releaseowl-user-guide/sap-integration-suite/cpi-management/backup-and-rollback.md).

# Backup & Rollback

The **Enable Rollback** option is one of the key **Deployment Actions** that can be configured during the deployment process. When enabled, this option creates a **backup of the current deployment version**, allowing you to **rollback changes** in case of deployment failures or post-deployment issues.

### **Key Points**

* Rollback is supported for **CPI artifacts** deployed both to **design time** and **runtime**.
* To use rollback during a release pipeline, you must **enable rollback while creating the pipeline**.
* During pipeline execution, you can initiate rollback by clicking the **Rollback** option in the deployment screen.
* Detailed deployment information, including rollback status, is available in the associated **deployment task**.
* Rollback logs in the **Pipeline Activity** section appear only when a rollback is triggered, reducing clutter in the pipeline history.

### **How to Enable Rollback**

1. While adding a **Deployment Task**, you will see an option for **Enable Rollback**.
2. **Select the checkbox** next to this option.
3. Click **Save** to confirm the changes.<br>

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2FOEzLWDDQEpqDDQPdeAbM%2Fimage.png?alt=media&amp;token=7f09b17b-cba9-4691-9424-67a087cc512c" alt=""><figcaption></figcaption></figure>

4. You can view the Release Pipeline execution status from User Stories screen by navigating to the Pipeline Activity as shown below:<br>

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2F2MKVA0RraBaDB1X0Xaj4%2Fimage.png?alt=media&amp;token=c737a267-8ae2-4b64-ba71-e25a06af8021" alt=""><figcaption></figcaption></figure>

5. Click on the **Pipeline Activity** option. You can find the Rollback option under **Deployment section**.&#x20;
6. At any point of time i.e., during or after the deployment done by the execution of the Release Pipeline, you can rollback to previous version by clicking the Rollback option available.&#x20;

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2F2MmVBdX2G7gw4HijgupH%2Fimage.png?alt=media&amp;token=526cec72-531e-4f29-b608-0e30b5d39fe1" alt=""><figcaption></figcaption></figure>

7. To rollback to the previous version, click on **Rollback** and in the confirmation pop-up that appears, click **Yes**. Rollback process starts.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2FrZGaOt4WqdrF9hxbCN29%2Fimage.png?alt=media&amp;token=e3be6549-5e78-4fe0-ac94-3a3072597968" alt=""><figcaption></figcaption></figure>

### **Rollback Logs**

* **Rollback Logs** are generated for **CPI artifacts** deployed to both **design time** and **runtime**.
* To rollback a build, click **Rollback** on the **Pipeline Activity status page**.
* Once rollback is triggered, the **rollback status and details** will be visible in the **deployment logs**, providing transparency into the rollback process and outcomes.

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2F1f25RGpoR9ZcvGjr4I4s%2Fimage.png?alt=media&amp;token=360213e7-73af-46f7-9e02-e71fcd4f8ce7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note :** Rollback logs in the Pipeline Activity section are now dynamically displayed only when a rollback is actually triggered.
{% endhint %}
