# xtrabackup: Error: xtrabackup\_copy\_logfile() failed

**URL:** <https://forums.percona.com/t/xtrabackup-error-xtrabackup-copy-logfile-failed/6717>\
**Category:** Percona XtraBackup\
**Created:** [December 1, 2018, 4:00am UTC](https://forums.percona.com/t/xtrabackup-error-xtrabackup-copy-logfile-failed/6717 "2018-12-01T04:00:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adityap](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@adityap](https://forums.percona.com/u/adityap)\
**Post date:** [December 1, 2018, 4:00am UTC](https://forums.percona.com/t/xtrabackup-error-xtrabackup-copy-logfile-failed/6717/1 "2018-12-01T04:00:26Z")

</div>

There are 31 instances in our environment out of which almost 20 instance backups are failed, due to slowness. We are getting below error.

xtrabackup: error: log block numbers mismatch:

xtrabackup: error: expected log block no. 660048145, but got no. 661096713 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.

181121 17:32:05 [01] …done

xtrabackup: Error: xtrabackup\_copy\_logfile() failed

we observed slowness while execution of Backups.

---

<div class="post-metadata">

**Author:** ![lalit.choudhary](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lalit.choudhary/32/51_2.png) [@lalit.choudhary](https://forums.percona.com/u/lalit.choudhary)\
**Post date:** [September 26, 2020, 7:57am UTC](https://forums.percona.com/t/xtrabackup-error-xtrabackup-copy-logfile-failed/6717/2 "2020-09-26T07:57:46Z")

</div>

- Increasing the size of the redo logs, so they are not wrapped while mysql is working.

- The read speed is too slow which usually is a sign of IO congestion.
- The write speed is too slow which usually is a sign of IO congestion or network congestion.
- Taking backup off-peak time, while the system saturation is lower.
