# new slave from xtrabackup of slave

**URL:** <https://forums.percona.com/t/new-slave-from-xtrabackup-of-slave/3118>\
**Category:** Percona XtraBackup\
**Created:** [November 24, 2013, 4:46pm UTC](https://forums.percona.com/t/new-slave-from-xtrabackup-of-slave/3118 "2013-11-24T16:46:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ITB](https://avatars.discourse-cdn.com/v4/letter/i/919ad9/32.png) [@ITB](https://forums.percona.com/u/ITB)\
**Post date:** [November 24, 2013, 4:46pm UTC](https://forums.percona.com/t/new-slave-from-xtrabackup-of-slave/3118/1 "2013-11-24T16:46:51Z")

</div>

We currently have a master (say, A) and a slave (say, B). We have weekly full and daily incrementals of the slave, B. We now want to introduce a new slave, as a sibling of B (say, C). We want to create this slave C with a restore of the slave B backups. Is it possible to do this? where can we find the master (A) binlog position at the time of the backup? xtrabackup\_binlog\_info contains the binlog info of the B server but not of the A. Or should we just restore the backup, and will the binlog position be available to the restored database, so we can just start the replication and it will sync with the master?

thanks, ITB.

---

<div class="post-metadata">

**Author:** ![mirfan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mirfan/32/16890_2.png) [@mirfan](https://forums.percona.com/u/mirfan)\
**Post date:** [November 25, 2013, 8:46am UTC](https://forums.percona.com/t/new-slave-from-xtrabackup-of-slave/3118/2 "2013-11-25T08:46:03Z")

</div>

you need to backup from Slave B with --slave-info parameter and use xtrabackup\_slave\_info file to fetch the value for master\_log\_file and master\_log\_pos to make promote C as slave of Master A. You can find complete steps here [url][How to setup a slave for replication in 6 simple steps with Percona XtraBackup](http://www.percona.com/doc/percona-xtrabackup/2.1/howtos/setting_up_replication.html#adding-more-slaves-to-the-master%5B/url%5D)
