1. 程式人生 > >xtrabackup-解壓備份文件報錯sh: qpress: command not found

xtrabackup-解壓備份文件報錯sh: qpress: command not found

bash logs 正常 工具 erro usr linu comm compress

# xtrabackup --decompress  --target-dir=/data/compressed
xtrabackup version 2.4.8 based on MySQL server 5.7.13 Linux (x86_64) (revision id: 97330f7)
170921 14:04:52 [01] decompressing ./xtrabackup_logfile.qp
sh: qpress: command not found
cat: write error: Broken pipe
Error: thread 0 failed.

  

原因是decompress解壓缺少工具qpress解壓辦法:

# wget http://www.quicklz.com/qpress-11-linux-x64.tar
# tar xvf qpress-11-linux-x64.tar
# cp qpress /usr/bin

  

安裝好qpress後就可以正常解壓了!

xtrabackup-解壓備份文件報錯sh: qpress: command not found