博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
安装 Percona XtraBackup 2.3
阅读量:6970 次
发布时间:2019-06-27

本文共 3734 字,大约阅读时间需要 12 分钟。

Installing Percona XtraBackup from Percona yum repository

  1. Install the Percona repository

    You can install Percona yum repository by running the following command as a root user or with sudo:

    yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm

    You should see some output such as the following:

    Retrieving http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpmPreparing...                ########################################### [100%]   1:percona-release        ########################################### [100%]

Note

RHEL/Centos 5 doesn’t support installing the packages directly from the remote location so you’ll need to download the package first and install it manually with rpm:

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
  1. Testing the repository

    Make sure packages are now available from the repository, by executing the following command:

    yum list | grep percona

    You should see output similar to the following:

    ...percona-xtrabackup-20.x86_64               2.0.8-587.rhel5             percona-release-x86_64percona-xtrabackup-20-debuginfo.x86_64     2.0.8-587.rhel5             percona-release-x86_64percona-xtrabackup-20-test.x86_64          2.0.8-587.rhel5             percona-release-x86_64percona-xtrabackup-21.x86_64               2.1.9-746.rhel5             percona-release-x86_64percona-xtrabackup-21-debuginfo.x86_64     2.1.9-746.rhel5 percona-release-x86_64 percona-xtrabackup-22.x86_64 2.2.13-1.el5 percona-release-x86_64 percona-xtrabackup-22-debuginfo.x86_64 2.2.13-1.el5 percona-release-x86_64 percona-xtrabackup-debuginfo.x86_64 2.3.5-1.el5 percona-release-x86_64 percona-xtrabackup-test.x86_64 2.3.5-1.el5 percona-release-x86_64 percona-xtrabackup-test-21.x86_64 2.1.9-746.rhel5 percona-release-x86_64 percona-xtrabackup-test-22.x86_64 2.2.13-1.el5 percona-release-x86_64 ...
  2. Install the packages

    You can now install Percona XtraBackup by running:

    yum install percona-xtrabackup

Warning

In order to sucessfully install Percona XtraBackup libev package will need to be installed first. libev package can be installed from the  repositories.

Percona yum Testing Repository

Percona offers pre-release builds from our testing repository. To subscribe to the testing repository, you’ll need to enable the testing repository in /etc/yum.repos.d/percona-release.repo. To do so, set both percona-testing-$basearch and percona-testing-noarch to enabled 1 (Note that there are 3 sections in this file: release, testing and experimental - in this case it is the second section that requires updating). NOTE: You’ll need to install the Percona repository first (ref above) if this hasn’t been done already.

Installing Percona XtraBackup using downloaded rpm packages

Download the packages of the desired series for your architecture from the . Following example will download Percona XtraBackup 2.3.5 release package for CentOS 7:

$ wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.3.5/binary/redhat/7/x86_64/percona-xtrabackup-2.3.5-1.el7.x86_64.rpm

Now you can install Percona XtraBackup by running:

$ yum localinstall percona-xtrabackup-2.3.2-1.el7.x86_64.rpm

Note

When installing packages manually like this, you’ll need to make sure to resolve all the dependencies and install missing packages yourself.

Uninstalling Percona XtraBackup

To completely uninstall Percona XtraBackup you’ll need to remove all the installed packages.

Remove the packages

yum remove percona-xtrabackup 测试:
$xtrabackup --versionxtrabackup version 2.3.10 based on MySQL server 5.6.24 Linux (x86_64) (revision id: bd0d4403f36)

 

 

转载地址:http://sxasl.baihongyu.com/

你可能感兴趣的文章
每个程序员都应该了解的内存知识(2)-CPU caches
查看>>
solr error logs org.apache.solr.common.SolrException: ERROR: [doc=17] unknown field alias
查看>>
django 项目创建使用
查看>>
简单的Verilog测试模板结构
查看>>
接口数据加密
查看>>
vue-router-transiton
查看>>
Micresoft Dynamices CRM 中的Webresouce
查看>>
DevExpress之TreeList节点绑定图片
查看>>
OC分类(Category)
查看>>
【Android游戏开发十四】深入Animation,在SurfaceView中照样使用Android—Tween Animation!...
查看>>
Python函数zip-map
查看>>
Django使用邮箱进行验证操作的实现方法
查看>>
BZOJ1206虚拟内存[hash]
查看>>
查询cad库中,所有程序leg引用的点的id,需要预先处理点表和程序表
查看>>
Docker Data Center系列(五)- 使用自定义的TLS安全认证
查看>>
julia生成指定格式的字符串.jl
查看>>
转:ActivityGroup + GridView 实现Tab分页标签
查看>>
模拟实现ls-l进阶
查看>>
作业5
查看>>
作业4
查看>>