# binary log and position missing in xtrabackup\_slave\_info

**URL:** <https://forums.percona.com/t/binary-log-and-position-missing-in-xtrabackup-slave-info/2188>\
**Category:** Percona XtraBackup\
**Created:** [December 2, 2011, 6:07pm UTC](https://forums.percona.com/t/binary-log-and-position-missing-in-xtrabackup-slave-info/2188 "2011-12-02T18:07:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ggeller](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@ggeller](https://forums.percona.com/u/ggeller)\
**Post date:** [December 2, 2011, 6:07pm UTC](https://forums.percona.com/t/binary-log-and-position-missing-in-xtrabackup-slave-info/2188/1 "2011-12-02T18:07:51Z")

</div>

Hello, I just started using xtrabackup today. I’m trying to use it to setup slaves for replication. I run the backup using --slave-info and the right files are created but the contents are as follows:

xtrabackup\_binlog\_info:  
xtrabackup ping 2

xtrabackup\_slave\_info:  
CHANGE MASTER TO MASTER\_LOG\_FILE=‘’, MASTER\_LOG\_POS=

xtrabackup\_binlog\_pos\_innodb:  
/usr/local/mysql/binlog/mysql-bin.000009 1561949

xtrabackup\_binlog\_pos\_innodb is correct. I have a custom location for the binary log. But the documentation says to only use it if you have innodb only setup, which I do. So my question is if it is only correct in the last file because I have innodb only. Or should it be showing correctly in all three files?

Thanks,  
Gunner

---

<div class="post-metadata">

**Author:** ![Wouter](https://avatars.discourse-cdn.com/v4/letter/w/e99b99/32.png) [@Wouter](https://forums.percona.com/u/Wouter)\
**Post date:** [September 10, 2015, 5:19am UTC](https://forums.percona.com/t/binary-log-and-position-missing-in-xtrabackup-slave-info/2188/2 "2015-09-10T05:19:14Z")

</div>

Probably because you are looking at the backup of a master instead of a slave, If you read the manual closely --slave-info is meant for backing up slaves. Just use the position in xtrabackup\_binlog\_info.

[Timemachine answer because I would’ve like to know the answer myself earlier today 😉]
