# Ib\_logfiles are not copied on restore

**URL:** <https://forums.percona.com/t/ib-logfiles-are-not-copied-on-restore/2339>\
**Category:** Percona XtraBackup\
**Created:** [March 6, 2013, 3:41pm UTC](https://forums.percona.com/t/ib-logfiles-are-not-copied-on-restore/2339 "2013-03-06T15:41:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![miguelangelnieto](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@miguelangelnieto](https://forums.percona.com/u/miguelangelnieto)\
**Post date:** [March 7, 2013, 4:44am UTC](https://forums.percona.com/t/ib-logfiles-are-not-copied-on-restore/2339/2 "2013-03-07T04:44:44Z")

</div>

Error 13 means permission problems, check that the files are owned by mysql:mysql. mysqld usually runs with “mysql” user, but in your case it can’t open ibdata1 or frm files.

About the ib\_logfiles they are not needed when restoring the backup. Anyway, those two files should be created by the --apply-log parameter. Can you attach the full --apply-log output?

---

_[View the full topic](https://forums.percona.com/t/ib-logfiles-are-not-copied-on-restore/2339)._
