troubleshooting

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.

Ib

Ibrahim

Asked on Feb 14, 2024

  1. Backup the meta service to S3 using the instructions provided in the Risingwave documentation.

  2. Backup the data (state store) directly to S3.

  3. 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.
  4. Achieve backup and restore requirements by backing up Risingwave data and restoring it on another Risingwave cluster using the same S3 storage.

  5. The risectl tool's capabilities are included in the Risingwave binary, which can be used for deployment.

Feb 20, 2024Edited by