debian8 安装percona-xtrabackup 很简单
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了debian8 安装percona-xtrabackup 很简单相关的知识,希望对你有一定的参考价值。
我的源
[email protected]:/tmp/percona-xtrabackup_debian8# cat /etc/apt/sources.list deb http://mirrors.ustc.edu.cn/debian jessie main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian jessie main contrib non-free deb http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free [email protected]:/tmp/percona-xtrabackup_debian8#
下载4个包
https://www.percona.com/downloads/XtraBackup/LATEST/ [email protected]:/tmp/percona-xtrabackup_debian8$ ll -rw-r--r-- 1 itsm itsm 3645296 Apr 1 03:18 percona-xtrabackup_2.3.4-1.jessie_amd64.deb -rw-r--r-- 1 itsm itsm 13321012 Apr 1 03:18 percona-xtrabackup-dbg_2.3.4-1.jessie_amd64.deb -rw-r--r-- 1 itsm itsm 623006 Apr 1 03:18 percona-xtrabackup-test_2.3.4-1.jessie_amd64.deb -rw-r--r-- 1 itsm itsm 13050 Apr 1 03:18 xtrabackup_2.3.4-1.jessie_all.deb
安装
[email protected]:/tmp/percona-xtrabackup_debian8$ sudo -s [email protected]:/tmp/percona-xtrabackup_debian8# [email protected]:/tmp/percona-xtrabackup_debian8# dpkg -i ./*.deb;apt-get -f install Do you want to continue? [Y/n] y
测试备份
[email protected]:/tmp/percona-xtrabackup_debian8# innobackupex --user=root --password=asset ./ trabackup: Transaction log of lsn (15584661) to (15584661) was copied. 160401 03:24:33 completed OK!
xtrabackup安装,并测试成功。
本文出自 “魂斗罗” 博客,请务必保留此出处http://990487026.blog.51cto.com/10133282/1759237
以上是关于debian8 安装percona-xtrabackup 很简单的主要内容,如果未能解决你的问题,请参考以下文章