> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/disaster-recovery-and-live-backup/upgrade-the-live-backup-environment.md).

# Upgrade the Live Backup Environment

Upgrade a Cortex XSOAR 6.15 live backup environment while preserving disaster recovery readiness.

Follow this procedure when upgrading your Cortex XSOAR version.

{% hint style="warning" %}
Before you begin, verify that your system meets the [system requirements](/xsoar-6-administrator-guide/6.14/onboard-cortex-xsoar/single-server-deployment/system-requirements.md), including the required operating system.
{% endhint %}

{% hint style="info" %}
The **`-y`** flag answers all installer questions with y/yes and uses default settings, including accepting the Cortex XSOAR EULA. If you apply the **`-y`** flag when upgrading the Live Backup Environment, it uses **`/tmp`** as the backup directory. If there is insufficient space in the **`/tmp`** directory to back up the **`/var/lib/demisto/data`** directory, the upgrade will fail.
{% endhint %}

1. Stop the main Cortex XSOAR server and the DR Cortex XSOAR server by typing the following command.

   `sudo systemctl stop demisto`
2. Upgrade the DR Cortex XSOAR server.

   `sudo ./demisto.sh -- -dr -y`

   (Multi-tenant) - For multi-tenant deployments: sudo ./demistoserver-X.sh -- -multi-tenant -dr -y
3. Upgrade the main Cortex XSOAR server.

   `sudo ./demisto.sh -- -y`

   (Multi-tenant) - For multi-tenant deployments: sudo ./demistoserver-X.sh -- -multi-tenant -y
4. If the DR Cortex XSOAR server did not start, restart the DR Cortex XSOAR server.

   `sudo systemctl start demisto`
5. If the main Cortex XSOAR server did not start, restart the main Cortex XSOAR server.

   `sudo systemctl start demisto`


---

# 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 following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.15/onboard-cortex-xsoar/disaster-recovery-and-live-backup/upgrade-the-live-backup-environment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
