linux 6 安装 使用 XtraBackup
Posted shijunjie
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux 6 安装 使用 XtraBackup相关的知识,希望对你有一定的参考价值。
帮助文档:https://www.cnblogs.com/imweihao/p/7290026.html
---Yum安装
官网地址:https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/yum_repo.html
[[email protected] ~]# yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm
[[email protected] ~]# yum list | grep percona
[[email protected] ~]# yum install percona-xtrabackup-24 -y # 卸载命令:yum remove percona-xtrabackup
[[email protected] ~]# xtrabackup -version
xtrabackup version 2.4.8 based on mysql server 5.7.13 Linux (x86_64) (revision id: 97330f7)
---使用二进制编译好的通用安装包
下载地址:https://www.percona.com/downloads/XtraBackup/LATEST/binary/redhat/6/x86_64/ #自行选择版本
下载地址:https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.8/binary/tarball/percona-xtrabackup-2.4.8-Linux-x86_64.tar.gz #本次使用版本
[[email protected] ~]# wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.8/binary/tarball/percona-xtrabackup-2.4.8-Linux-x86_64.tar.gz
[[email protected] ~]# tar xf percona-xtrabackup-2.4.8-Linux-x86_64.tar.gz -C /usr/local/
[[email protected] ~]# mv /usr/local/percona-xtrabackup-2.4.8-Linux-x86_64/ /usr/local/xtrabackup
[[email protected] local]# echo "export PATH=$PATH:/usr/local/xtrabackup/bin" >> /etc/profile
[[email protected] local]# source /etc/profile
[[email protected] ~]# yum install numactl -y #安装依赖
下载地址:https://www.percona.com/downloads/XtraBackup/LATEST/
安装完成!
以上是关于linux 6 安装 使用 XtraBackup的主要内容,如果未能解决你的问题,请参考以下文章