# Percona Xtrabackup - Failed to read metadata from

**URL:** <https://forums.percona.com/t/percona-xtrabackup-failed-to-read-metadata-from/34772>\
**Category:** Percona XtraBackup\
**Tags:** mysql, percona\
**Created:** [November 4, 2024, 12:27pm UTC](https://forums.percona.com/t/percona-xtrabackup-failed-to-read-metadata-from/34772 "2024-11-04T12:27:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishnadas\_K\_P](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/krishnadas_k_p/32/18768_2.png) [@Krishnadas\_K\_P](https://forums.percona.com/u/Krishnadas_K_P)\
**Post date:** [November 4, 2024, 12:27pm UTC](https://forums.percona.com/t/percona-xtrabackup-failed-to-read-metadata-from/34772/1 "2024-11-04T12:27:33Z")

</div>

MySQL version - 8.0.39-0ubuntu0.24.04.2  
OS version - Ubuntu 24.04  
Xtrabackup version - xtrabackup version 8.0.35-31 based on MySQL server 8.0.35 Linux (x86\_64) (revision id: 55ec21d7)

I have taken a full backup of my MySQL DB using the following command

> xtrabackup --backup --target-dir=/bkp

Now I am trying to take an incremental backup based on this fullbackup

> xtrabackup --backup --target-dir=/bkp/inc1 --incremental-basedir=/bkp

However getting the following error.

> [ERROR] [MY-011825] [Xtrabackup] failed to read metadata from /bkp//xtrabackup\_checkpoints

This file is present but empty. Is this some version mismatch ?

---

<div class="post-metadata">

**Author:** ![CTutte](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ctutte/32/1341_2.png) [@CTutte](https://forums.percona.com/u/CTutte)\
**Post date:** [November 4, 2024, 1:23pm UTC](https://forums.percona.com/t/percona-xtrabackup-failed-to-read-metadata-from/34772/2 "2024-11-04T13:23:32Z")

</div>

Hi Krishnadas\_K\_P,

Have you checked the base backup logs? If the backup finished successfully then the last line in the backup should mention that.

Also; do you have any config files that might be over writing any of the cli lines? You can check the backup command used in the log as well.

I suggest you delete this wrong backup and start all over making sure that the base backup was taken correctly.

Regards

---

<div class="post-metadata">

**Author:** ![satya.bodapati](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/satya.bodapati/32/1322_2.png) [@satya.bodapati](https://forums.percona.com/u/satya.bodapati)\
**Post date:** [November 6, 2024, 2:32pm UTC](https://forums.percona.com/t/percona-xtrabackup-failed-to-read-metadata-from/34772/3 "2024-11-06T14:32:35Z")

</div>

xtrabackup\_checkpoints file cannot be empty. It either means backup failed or corrupted.
