# Backup & Restore

To initiate either a topic backup to S3 or topic restoration from S3, follow these steps:

* Navigate to the Actions menu within the Kafka topic details screen.
* Choose your desired action: “Backup Topic to S3” or “Restore Topic from S3.”
* A modal window will open, providing step-by-step guidance to configure your backup or restoration entity.

{% hint style="info" %}
A single topic can be backed up or restored to/from multiple locations.
{% endhint %}

## Identifying if a topic is being backed up

If a topic is being backed up it will be displayed on the topology.

Additional information on the location of the backup can be found by navigating to the topic in the **Explore** screen where the information is available in the **Summary** section.

## Backing up a topic

To back up a topic, navigate to the topic you wish to back up and select **Backup Topic to S3** from the Actions menu.

Enter the S3 bucket ARN and select the [Connect Cluster](https://github.com/lensesio-dev/docs/blob/release/6.1/getting-started/connections/kafka-connect.md) that has the Lenses S3 connector installed.

Click **Backup Topic**, an S3 sink connector instance will now be deployed and configured automatically to back up data from the topic to the specified bucket.

## Restoring a topic

To restore a topic, navigate to the topic you wish to restore and select **Restore Topic from S3** from the Actions menu.

Enter the S3 bucket ARN and select the Connect Cluster that has the Lenses S3 connector installed. Click **Restore Topic**, an S3 source connector instance will now be deployed and configured automatically to restore data to the topic from the specified bucket.


---

# 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.lenses.io/latest/devx/6.1/user-guide/topics/environment-topic-catalogue/backup-and-restore.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.
