xtrabackup: error: applying incremental backup needs target prepared with --apply-log-only

我的xtrabackup版本是2.4.9 在用innobackupex执行恢复增量备份的时候,报了错误: [root@xuegod63 ~]# innobackupex --user=root --apply-log /tmp/db_backup --incremental-dir=/increment/2022-01-03_15-03-14/ 220103 15:32:20 innobackupex: Starting the apply-log operation IMPORTANT: Please check that the apply-log run completes successfully. At the end of a successful apply-log run innobackupex prints "completed OK!". innobackupex version 2.4.9 based on MySQL server 5.7.13 Linux (x86_64) (revision id: a467167cdd4) incremental backup from 0 is enabled. xtrabackup: cd to /tmp/db_backup/ xtrabackup: This target seems to be already prepared. xtrabackup: error: applying incremental backup needs target prepared with --apply-log-only. 做这个实验时,恢复增量备份时一直不成功,后来把全备目录删除了,重新生成了,然后再生成了2个增量备份,恢复就成功了。估计昨天做实验时,把全备目录搞乱了。

提供优质的网站源码大全,小程序、APP、H5、支付、游戏、区块链、商城、直播、影音、小说、公众号等源码下载。
易搜网络技术公司 » xtrabackup: error: applying incremental backup needs target prepared with --apply-log-only
赞助VIP 享更多特权,建议使用 QQ 登录
喜欢我嘛?喜欢就按“ctrl+D”收藏我吧!♡