mysql5.7 InnoDB Database Backup tool xtrabackup installation

Source: Internet
Author: User
Tags install perl percona

mysql5.7 InnoDB Database Backup tool xtrabackup installation

wget mhttps://www.percona.com/downloads/xtrabackup/percona-xtrabackup-2.4.7/binary/redhat/6/x86_64/ percona-xtrabackup-24-2.4.7-1.el6.x86_64.rpm

M Ysql 5.7 need to install Xtrabackup 2.4.1 or later


Official Address https://www.percona.com/downloads/XtraBackup/  


2. Installation

RPM-IVH percona-xtrabackup-24-2.4.7-1.el6.x86_64.rpm


If you report the following error,


Warning:percona-xtrabackup-2.2.3-4982.el6.x86_64.rpm:header V4 dsa/sha1 Signature, key ID Cd2efd2a:nokey


error:failed dependencies:


Libaio.so.1 () (64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64


Libaio.so.1 (libaio_0.1) (64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64


Libaio.so.1 (libaio_0.4) (64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64


Perl (Dbd::mysql) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64


Perl (Time::hires) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64



Install the following dependency packages:


Yum-y Install Perl perl-devel libaio libaio-devel perl-time-hires perl-dbd-mysql


If an error


error:failed dependencies:

Libev.so.4 () (64bit) is needed by percona-xtrabackup-24-2.4.3-1.el6.x86_64

Libnuma.so.1 () (64bit) is needed by percona-xtrabackup-24-2.4.3-1.el6.x86_64


wget http://mirror.centos.org/centos/6/os/x86_64/Packages/numactl-2.0.9-2.el6.x86_64.rpm

RPM-IVH numactl-2.0.9-2.el6.x86_64.rpm

Http://rpmfind.net/linux/rpm2html/search.php?query=libev.so.4 () (64bit)

wget ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm

RPM-IVH libev-4.15-1.el6.rf.x86_64.rpm


Re-run

RPM-IVH P ercona-xtrabackup-24-2.4.7-1.el6.x86_64.rpm


Can


This article is from the "Operation and maintenance of the Road" blog, please be sure to keep this source http://deepzx.blog.51cto.com/11385098/1962549

mysql5.7 InnoDB Database Backup tool xtrabackup installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.