skywalking
skywalking copied to clipboard
[BanyanDB-Server]Backup and Restore Data
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
Description
We propose to add a backup and restore feature to BanyanDB. This feature will allow users to create and restore data backups when necessary.
Requirements
-
Backup Functionality:
- Implement a method to create a consistent snapshot of the BanyanDB data directory.
- Ensure minimal performance impact during the snapshot process.
- Allow users to configure the backup frequency and retention period.
-
Restore Functionality:
- Provide a way to restore BanyanDB data from a previously created snapshot.
- Ensure the restoration process is robust and handles potential issues such as incomplete or corrupted snapshots.
- Support restoring to the same instance or a new instance of BanyanDB.
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
- [X] Yes I am willing to submit a pull request on my own!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
We should consider restoring from N-1 version snapshot as well. This would be critical for the upgrade.
This issue is focused on tracking the snapshot functionality. Other features mentioned here are tracked under #12876.