Hello,
I’m running Debian 6.0.2,
mysqld Ver 5.5.17-55-log for Linux on x86_64 (Percona Server (GPL), Release 22.1)
I’m creating backup doing:
xtrabackup_55 --backup --datadir=/var/lib/mysql --target-dir=/home/la/backup/
the create phase runs few minutes (the dataset is about 5G), and exits cleanly.
but prepare phase quickly fails:
$xtrabackup_55 --prepare --target-dir=/home/la/backup/
xtrabackup_55 version 1.6.3 for Percona Server 5.5.9 Linux (x86_64) (revision id: undefined)
xtrabackup: cd to /home/la/backup/
xtrabackup: This target seems to be not prepared yet.
xtrabackup: No valid checkpoint found.
xtrabackup: Error: xtrabackup_init_temp_log() failed.
I’m doing exactly the same steps as documentation says.
Here is some last lines of strace output:
open(“./xtrabackup_logfile”, O_RDWR) = 3
fadvise64(3, 0, 0, POSIX_FADV_SEQUENTIAL) = 0
fadvise64(3, 0, 0, POSIX_FADV_DONTNEED) = 0
lseek(3, 0, SEEK_END) = 17416192
mmap(NULL, 2117632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f09aa5e7000
pread(3, "\0\0\0\0\0\0\0\1?\376\200\0\0\0\0\0xtrabkup 111206 "…, 2048, 0) = 2048
write(2, "xtrabackup: No valid checkpoint "…, 39xtrabackup: No valid checkpoint found.
) = 39
close(3) = 0
munmap(0x7f09aa5e7000, 2117632) = 0
write(2, “xtrabackup: Error: xtrabackup_in”…, 54xtrabackup: Error: xtrabackup_init_temp_log() failed.
) = 54
exit_group(1) = ?