腾讯云 mysql .xb数据库备份恢复
https://cloud.tencent.com/document/product/236/33362
备份文件先经过 qpress 压缩,后经过 xbstream 打包,所以先安装xbstream解包,然后安装qpress解压缩。
1, 安装 xbstream
yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm
yum install percona-xtrabackup-24
报错:
https://blog.csdn.net/xinjing2015/article/details/88178789
The GPG keys listed for the "Percona-Release YUM repository - x86_64" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: Percona-Server-client-56-5.6.43-rel84.3.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
解决:yum update percona-release
2,安装qpress
http://www.quicklz.com/
tar -xf qpress-11-linux-x64.tar -C /usr/local/bin
source /etc/profile
无法启动mysql,将/tmp/mysql.sock改为mysql用户
chmod mysql:mysql mysql.sock