使用innobackupex备份遇到的问题和解决方法

1. "Can't locate Time/HiRes.pm in @INC"

解决方法:yum -y  install perl-Time-HiRes

2. innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at ./innobackupex line 2999.

解决办法:yum install -y perl-DBD-MySQL

3. sh: xtrabackup: command not found
innobackupex: got a fatal error with the following stacktrace: at ./innobackupex line 2704
        main::wait_for_ibbackup_file_create('/data/backup/2015-09-28_17-59-26/xtrabackup_suspended_2') called at ./innobackupex line 2724
        main::wait_for_ibbackup_suspend('/data/backup/2015-09-28_17-59-26/xtrabackup_suspended_2') called at ./innobackupex line 1977
        main::backup() called at ./innobackupex line 1601
innobackupex: Error: The xtrabackup child process has died at ./innobackupex line 2704.

解决方法:将innobackupex  xbcrypt  xbstream  xtrabackup这几个执行文件拷贝到/usr/bin下




发布了52 篇原创文章 · 获赞 18 · 访问量 34万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览