Percona XtraBackup install,以主流发新版CentOS,Ubuntu为例: Redhat/CentOS: # Install the Percona repository$ w
Percona XtraBackup install,以主流发新版CentOS,Ubuntu为例:
Redhat/CentOS:
# Install the Percona repository$ wget http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpmrpm -ivH percona-release-0.1-4.noarch.rpm# Testing the repository$ yum list | grep percona# Install the packages$ yum install percona-xtrabackup# Install 2.4.x$ yum install percona-xtrabackup-24
PS:https://www.percona.com/doc/percona-xtrabackup/2.3/installation/apt_repo.html
Debian/Ubuntu:
# Fetch the repository packages from Percona web:$ wget https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb#Install the downloaded package with dpkg. To do that, run the following commands as root or with sudo:$ sudo dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb# Remember to update the local cache:$ sudo apt-get update# After that you can install the package:$ apt-get install percona-xtrabackup# Install 2.4.x$ apt-get install percona-xtrabackup-24
PS:https://www.percona.com/doc/percona-xtrabackup/2.3/installation/yum_repo.html