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、商城、支付、游戏、区块链、直播、影音、小说等源码教程,注册会员可免费学习交流。
用户必须遵守《计算机软件保护条例(2013修订)》第十七条:为了学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软件等方式使用软件的,可以不经软件著作权人许可,不向其支付报酬。鉴于此条例,用户从本平台下载的全部源码(软件)教程仅限学习研究,未经版权归属者授权不得商用,若因商用引起的版权纠纷,一切责任均由使用者自行承担,本平台所属公司及其雇员不承担任何法律责任。
暗黑源码库 » xtrabackup: error: applying incremental backup needs target prepared with –apply-log-only
赞助VIP 享更多特权,立即登录下载海量资源
喜欢我嘛?喜欢就按“ctrl+D”收藏我吧!♡