Not the answer you need?
Register and ask your own question!

Error xtrabackup --prepare

ffrcaraballoffrcaraballo EntrantCurrent User Role Beginner
I have a backup that I made with xtrabackup, when I want to do a restore prepare it gives me the following error:

xtrabackup version 2.3.4 based on MySQL server 5.6.24 Linux (x86_64) (revision id: e80c779)
xtrabackup: cd to /root/xtrabackup_backupfiles/
xtrabackup: Error: cannot open ./xtrabackup_checkpoints
xtrabackup: error: xtrabackup_read_metadata()
xtrabackup: This target seems not to have correct metadata...
2016-08-02 15:35:29 7f20f6eeb740 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
xtrabackup: Warning: cannot open ./xtrabackup_logfile. will try to find.
2016-08-02 15:35:29 7f20f6eeb740 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
xtrabackup: Fatal error: cannot find ./xtrabackup_logfile.
xtrabackup: Error: xtrabackup_init_temp_log() failed.

Files that can not be opened in the directory

-rw-r
1 mysql mysql 119 Aug 2 14:06 xtrabackup_checkpoints
-rw-r
1 mysql mysql 533 Aug 2 15:26 xtrabackup_info
-rw-r
1 mysql mysql 2560 Aug 2 15:26 xtrabackup_logfile

Comments

  • PBflexPBflex Entrant Inactive User Role Beginner
    Hi,
    Just change permission to the folder and add sudo before the command
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.