How can I backup and restore Risingwave data?
I am looking for ways to export Risingwave data or take a snapshot of the entire data for backup and restore purposes. I am interested in scenarios like backing up the full data from Docker to a self-managed cluster, restoring data to another Docker in a different server, or backing up specific pipelines for testing purposes.
Ibrahim
Asked on Feb 14, 2024
-
Backup the meta service to S3 using the instructions provided in the Risingwave documentation.
-
Backup the data (state store) directly to S3.
-
Use the risectl tool to implement backup and restore:
- Execute the backup command to create a backup of metadata on S3 and create a snapshot.
- Note that all data on S3 will not be copied during the snapshot.
-
Achieve backup and restore requirements by backing up Risingwave data and restoring it on another Risingwave cluster using the same S3 storage.
-
The risectl tool's capabilities are included in the Risingwave binary, which can be used for deployment.