安裝 yum repostory
yum -y install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm # 以防萬一可以升級一下 yum -y update percona-release
yum -y install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm # 以防萬一可以升級一下 yum -y update percona-release
yum -y install percona-xtrabackup qpress
xbstream -x -p 4 < ./backup.qp -C ./backupdir/ innobackupex --parallel 4 --decompress ./backupdir # remove extra qp files find ./backupdir/ -name '*.qp' | xargs rm -f # apply the log innobackupex --apply-log ./backupdir