Skip to content

Add the backup and restore API for metasrv #5085

@zyy17

Description

@zyy17

What type of enhancement is this?

Refactor

What does the enhancement do?

Background

The metadata that metasrv manages is vital for the whole cluster management. Like other data, we also need to add the backup and restore API for metasrv:

  1. Add the abstraction for metadata backup and restore: Although we can backup and restore metadata for backend storage of metasrv, it's not the best operation practice. It should be better to handle in the metasrv;
  2. For disaster recovery: If we back up the metadata period, it's easy to recover from a disaster. Actually, we always back up the etcd data scheduled;
  3. Easy to troubleshoot: It will be easy to dump the raw metadata to debug the problem;

Implementation

We can add backup and restore API in metasrv admin API.

Implementation challenges

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions