1、获取xtrabackup工具 https://www.percona.com/ 我这里安装的rpm的
2、安装
rpm -ivh percona-xtrabackup-24-2.4.6-2.el6.x86_64.rpm
依赖关系:
warning: percona-xtrabackup-24-2.4.6-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
libev.so.4()(64bit) is needed by percona-xtrabackup-24-2.4.6-2.el6.x86_64
libnuma.so.1()(64bit) is needed by percona-xtrabackup-24-2.4.6-2.el6.x86_64
perl(DBD::mysql) is needed by percona-xtrabackup-24-2.4.6-2.el6.x86_64
rsync is needed by percona-xtrabackup-24-2.4.6-2.el6.x86_64
解决上述依赖关系:
1、yum install -y rsync
2、yum install -y perl-DBD-MySQL (用于Perl的MySQL的DBI的实现。DBI(database index))
3、yum install -y numactl-devel (Provides development headers for numa library calls)
注解: NUMA(Non Uniform Memory Access Architecture)非统一内存访问(NUMA)是一种用于多处理器的电脑记忆体设计,内存访问时间取决于处理器的内存位置。
4、rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm 要在rpmfilnd网站下载
软件包简介:
Features include child/pid watchers, periodic timers based on wallclock
(absolute) time (in addition to timers using relative timeouts), as well as
epoll/kqueue/event ports/inotify/eventfd/signalfd support, fast timer
management, time jump detection and correction, and ease-of-use.
It can be used as a libevent replacement using its emulation API or directly
embedded into your programs without the need for complex configuration support.
5、重新安装percona-xtrabackup即可!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。