0

I taken full backup from a Master server with innobackupex.

Now I am restoring backup with innobackupex on a Slave server.

I prepare backup with the command:

innobackupex --defaults-file=/var/lib/mysql/backup-my.cnf --apply-log /var/lib/mysql

This command end up with messages:

xtrabackup: cd to /var/lib/mysql/
xtrabackup: This target seems to be not prepared yet.
xtrabackup: No valid checkpoint found.
xtrabackup: Error: xtrabackup_init_temp_log() failed.

What do I need to do to get rid of these messages and restore my backup?

I use innobackupex version 2.3.10 and percona server 5.7.35.

I have seen this question, but its answer did not help me.

2
  • Welcome to the DBA.SE community. According to the official documentation you should have received an OK message at the end of the backup. Did you receive an OK message?
    – John K. N.
    Dec 15, 2021 at 8:43
  • No, I did not receive an OK message
    – Ongu
    Dec 22, 2021 at 9:42

1 Answer 1

0

I found out that there are different versions of innobackupex on Master and Slave servers. That caused the problem. After installing same innobackupex version on slave I successfully prepared the backup and got "completed OK!" message.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.