skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

[BanyanDB-Server]Backup and Restore Data

Open hanahmily opened this issue 1 year ago • 1 comments

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

  1. 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.
  2. 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

hanahmily avatar Jul 18 '24 03:07 hanahmily

We should consider restoring from N-1 version snapshot as well. This would be critical for the upgrade.

wu-sheng avatar Jul 18 '24 03:07 wu-sheng

This issue is focused on tracking the snapshot functionality. Other features mentioned here are tracked under #12876.

hanahmily avatar Feb 07 '25 13:02 hanahmily