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个增量备份,恢复就成功了。估计昨天做实验时,把全备目录搞乱了。

尚美源码坑位教程提供精美的网站源码教程,小程序、公众号、H5、APP、游戏、直播、支付、区块链、商城、影音、小说等源码信息大全。
尚美源码教程库 » xtrabackup: error: applying incremental backup needs target prepared with --apply-log-only
赞助VIP 享更多特权,立即登录下载海量资源
喜欢我嘛?喜欢就按“ctrl+D”收藏我吧!♡