/mysql-binlog

MySQL binlog backup & merge & recover

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

mysql-binlog

Outline

here including three parts: backup, merge, recover; each part has its own README.md.

Illustration

as three module to show the function mainly arch to dump from MySQL to generate binlog file image

backup

  • README
    slave dump binlog from MySQL server and save the binlog event into kv storage which is leveldb, key is the uniq key on table schema infor, and value is unit proto value.

merge

  • README
    merge binlog file to save disk.

recover

  • README
    dump binlog file from remote and push to mysql using base64 encode binlog statement.