xtrabackup 不能備份mariadb 10的解決方法

以前xtrabackup 不能備份mariadb 10的問題,看官方文檔,無心找到了答案,很簡單,升級xtrabackup 到2.1.7+ 版本便可,以前用的是2.0.2版本。
官方說明:https://mariadb.com/kb/en/mariadb/mariadb-documentation/clients-and-utilities/backup-restore-and-import/backup-restore-and-import-xtrabackup/mysql

描述以下:sql

If you are getting errors like thisapp

140208 23:23:03 [Note] Found 1 prepared transaction(s) in InnoDB
140208 23:23:03 [ERROR] Found 1 prepared transactions! It means that
mysqld was not shut down properly last time and critical recovery
information (last binlog or tc.log file) was manually deleted after a
crash. You have to start mysqld with --tc-heuristic-recover switch to
commit or rollback pending transactions. 140208 23:23:03 [ERROR]
Abortingthis

while using XtraBackup with MariaDB 5.5 or higher, you most likely
need to upgrade XtraBackup to a 2.1.7+ version. See more details in
the bug report. Also, please note that the last comment there of
2014-01-06 about multiple XA engines can be easily misunderstood. The
problem can appear even if you are not using any other XA-capable
engines.rest

看官方文檔的重要性呀。。。orm

相關文章
相關標籤/搜索