mydumper 是一款社区开源的逻辑备份工具。该工具主要由 C 语言编写,目前由 MySQL 、Facebook 等公司人员开发维护。
官网地址:https://launchpad.net/mydumper
GitHub 地址:https://github.com/maxbube/mydumper
参考官方介绍,mydumper 主要有以下几点特性:
# ubuntu
yum install glib2-devel mysql-devel gcc gcc-c++ zlib-devel pcre-devel openssl-devel libicu-dev cmake -y
# centos8
yum install glib2-devel mysql-devel gcc gcc-c++ zlib-devel pcre-devel openssl-devel cmake -y
# rpm包安装
# 下载文件mydumper-0.9.5-2.el7.x86_64.rpm
# wget https://github.com/mydumper/mydumper/releases/download/v0.11.3/mydumper-0.11.3-1.el7.x86_64.rpm
# 线上安装的版本
wget https://github.com/mydumper/mydumper/releases/download/v0.11.3-5/mydumper-0.11.3-5.el7.x86_64.rpm
# 备用下载地址
wget http://soft.meimg.com/mydumper-0.11.3-5.el7.x86_64.rpm
# yum安装本地rpm包
yum localinstall mydumper-0.11.3-5.el7.x86_64.rpm
# yum安装线上rpm包
yum install wget https://github.com/mydumper/mydumper/releases/download/v0.11.3-5/mydumper-0.11.3-5.el7.x86_64.rpm
# yum卸载
yum list installed |grep mydumper # 查找已安装的报名
yum remove mydumper # 卸载包