Percona Xtrabackup - Failed to read metadata from

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 ?

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

xtrabackup_checkpoints file cannot be empty. It either means backup failed or corrupted.