MySQL Backup - Xtrabackup backup common errors

1, DDL operations Xtrabackup backup conflict

When using xrabckup MySQL backup, if you perform a table DDL changes will cause xrabckup backup to fail.

An error similar to:

InnoDB: Last flushed lsn: 3375345258517 load_index lsn 3379255303757
InnoDB: An optimized (without redo logging) DDLoperation has been performed. All modified pages may not have been flushed to the disk yet. 
PXB will not be able take a consistent backup. Retry the backup operation

 

2, resulting in poor performance disk backup failure xtrabckup

Innodb speed far exceeding the speed log generated Xtrabackup replication, truncated portion Innodb log, backup failure.

An error similar to:

xtrabackup: error: log block numbers mismatch:
xtrabackup: error: expected log block no. 201901064, but got no. 208192508 from the log file.
xtrabackup: error: it looks like InnoDB log has wrapped around before xtrabackup could process all records due to either log copying being too slow, or  log files being too small.
xtrabackup: Error: xtrabackup_copy_logfile() failed.

 

Guess you like

Origin www.cnblogs.com/gaogao67/p/10986389.html