Coder Social home page Coder Social logo

mbr's Introduction

MBR(MicroBR)

This is a project or small toy to learn TiDB BackupRestore(BR).

  1. Added functions: Now, you could use mbr to parse what the file named backupmeta and generated by TiDB BR stored,like below:
mbr parse backupmeta -s /path/to/backupmeta

cluster_version: "5.4.0"
cluster_id: 7155049443847481315
version: 0
start_version: 0
end_version: 436711705384845313
is_raw_kv: false
backup_result: 
new_collations_enabled: False
  ---------------------
    "filename": 1_2_30_90eafaa636d17440add6ba1538819ff7087eaf564d641bafda9a1a8af6e1e386_1665922948478_write.sst
    "sha256": EDBF44C8EEBD7689E0B7053D9273DB2B8DAAD39756E4DD0EB9C5D522285C2E77
    "start_key": 74800000000000003F5F720000000000000000
    "end_key": 74800000000000003F5F72FFFFFFFFFFFFFFFF00
    "start_version": 0
    "end_version": 436711705384845313
    "crc64xor": 284354599813761836
    "total_kvs": 1
    "cf": write
    "size": 1499
    "cipher_iv": 9FD154CD2C0938F911192A6E5FD3F7B1
......
  1. planed functions: And, I am tring to add more functions, like basic backup function of TiDB BR , in the long learning journey.
    but,it haven't finfished yet...
mbr backup table ...
  1. How to use: If you just wanna ues mbr to parse backupmeta file, you could use it like :
  1. How to build: If you wanna participate in this project or explor more details,you can operate like :
make
./bin/mbr --help

mbr's People

Contributors

jansu-dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.