# xtrabackup --move-back fails with "cannot open file" error

**URL:** <https://forums.percona.com/t/xtrabackup-move-back-fails-with-cannot-open-file-error/7742>\
**Category:** Percona Server for MySQL\
**Created:** [July 6, 2020, 5:11am UTC](https://forums.percona.com/t/xtrabackup-move-back-fails-with-cannot-open-file-error/7742 "2020-07-06T05:11:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fatidic](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fatidic/32/2648_2.png) [@Fatidic](https://forums.percona.com/u/Fatidic)\
**Post date:** [July 6, 2020, 5:11am UTC](https://forums.percona.com/t/xtrabackup-move-back-fails-with-cannot-open-file-error/7742/1 "2020-07-06T05:11:35Z")

</div>

Hello guys,&nbsp;  
  
I hope not to ask something too obvious, but I can’t find anything that can help me with my problem. I have tried to make a Master/Slave test server with [https://www.percona.com/doc/percona-xtrabackup/2.3/howtos/setting\_up\_replication.html](https://www.percona.com/doc/percona-xtrabackup/2.3/howtos/setting_up_replication.html) as a guide but I’m stuck at the second step, move-back command.&nbsp; When I run “xtrabackup --move-back --target-dir=/home/cmihai/mysql\_xtrabackup” command, i receive:&nbsp;&nbsp; ![]() ![]()

 ![](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/1X/c33c16d6140028dc9bcd8ee1aa5ec3001e243248.png "Image: /uploads/percona1/original/1X/c33c16d6140028dc9bcd8ee1aa5ec3001e243248.png")I already check the version of xtrabackupserver and it is the same on both servers. I guess it’s a rights issue but I haven’t found anything concrete on the internet, and the rights are given on root, the same user I’m logged in to when I run the command

---

<div class="post-metadata">

**Author:** ![vaibhav\_upadhyay40](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vaibhav_upadhyay40/32/9_2.png) [@vaibhav\_upadhyay40](https://forums.percona.com/u/vaibhav_upadhyay40)\
**Post date:** [July 6, 2020, 5:57am UTC](https://forums.percona.com/t/xtrabackup-move-back-fails-with-cannot-open-file-error/7742/2 "2020-07-06T05:57:22Z")

</div>

Hi @Fatidic   
I would suggest you to try Percona XtraBackup 8.0.  
[https://www.percona.com/doc/percona-xtrabackup/8.0/index.html](https://www.percona.com/doc/percona-xtrabackup/8.0/index.html)  
_Percona XtraBackup_&nbsp;2.4 does not support making backups of databases created in&nbsp;_MySQL_&nbsp;8.0,&nbsp;_Percona Server for MySQL_&nbsp;8.0 or&nbsp;_Percona XtraDB Cluster_&nbsp;8.0.
