This page describes how to use Lenses to back and restore data in a Kafka topic to AWS S3.
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.
A single topic can be backed up or restored to/from multiple locations.
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.
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 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.
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.