# Backup and Restore Your Enterprise Agent Configuration

Backup and restore options are available for Enterprise Agent configurations, in case the agent upgrade fails. In this case, you can delete the original agent, re-deploy a new agent, and restore the configuration from the backup file.

## Backup the Agent Configuration

You can backup your agent configuration prior to upgrading to the latest version of the operating system, in order to prepare for any potential failure situations that occur during the upgrade process. To back up the configuration, open the TEVA/TEPA UI, and navigate to the **Advanced Settings**:

![](/files/JSKRakyYqebpRe9pMlmu)

Click **Backup** to download the configuration. A `.backup` file will be downloaded.

## Restore a Previous Configuration

After launching the web UI for the first time, reset the default password. You will then be directed to the Agent menu screen, and offered two options for the Agent Identity. The default selection is **New ID**, which accepts the registration by typing in Account Group Token.

![](/files/7RSOxNS2pNXgvH7dv05g)

To restore from a previous configuration, select **Restore from backup**, and upload the previously saved `.backup` file:

![](/files/SdxKWrcJTWw8Hb6PTAyJ)

After uploading the file, click **Continue**, and the restoration will initiate, automatically registering the new agent with the original agent’s identity and inherited agent ID, as well as any test assignments and configurations.


---

# 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.thousandeyes.com/product-documentation/global-vantage-points/enterprise-agents/managing/backup-and-restore-your-enterprise-agent-configuration.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.
