我的源
[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安装,并测试成功。
时间: 2024-10-17 15:12:04