Backup and Restore Procedure
This documentation outlines the steps for backing up and restoring a Kloudfuse cluster. Follow these instructions carefully to ensure a successful backup and restoration process.
Backup Procedure
Configuration Database Backup
Use the Backup script to backup the configuration database to an S3 bucket.
Execute the script with appropriate permissions to ensure successful backup. You will need aws cli, kubectl and bash shell to run the above script. In addition, the above script assumes you have setup the kubectl cluster context and aws credentials.
Pinot Segments Storage
Take note of the S3 bucket where Pinot segments are stored.
This information will be crucial for the restoration process.
Restore Procedure
Create New Kloudfuse Cluster
Follow the Installation instructions to create a new Kloudfuse cluster.
Ensure that the new cluster configuration is similar to the one you had backed up previously.
Upload Pinot Segments
Use the deepstore rehydration process to upload the Pinot segments from the previous cluster.
Refer to the documentation at Rehydration of Segments from Deepstore for detailed instructions on this process.
Restore Configuration Database
Utilize the Restore script to restore the configuration database from the S3 bucket.
Ensure you have the necessary permissions and access to the S3 bucket containing the backup.
Important Considerations
Always test the backup and restore procedures in a non-production environment before applying them to a live system.
Regularly update and maintain your backup scripts to ensure compatibility with the latest Kloudfuse versions.
Keep secure records of all necessary credentials and bucket information required for the backup and restore processes.
By following these steps, you can effectively backup your Kloudfuse cluster and restore it when needed. Remember to consult the official Kloudfuse documentation for any updates or changes to these procedures.