# xtrabackup without locking

**URL:** <https://forums.percona.com/t/xtrabackup-without-locking/2229>\
**Category:** Percona XtraBackup\
**Created:** [April 4, 2012, 4:24am UTC](https://forums.percona.com/t/xtrabackup-without-locking/2229 "2012-04-04T04:24:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhadie](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nhadie/32/867_2.png) [@nhadie](https://forums.percona.com/u/nhadie)\
**Post date:** [April 4, 2012, 4:24am UTC](https://forums.percona.com/t/xtrabackup-without-locking/2229/1 "2012-04-04T04:24:24Z")

</div>

Hi,

Would just like to check if i can use the --no-lock option of xtrabackup and create a backup that i can use for my slave. would i still be able to grab the binlog file and position if i do this? and will the data be consistent? i would like to create a slave based on the master but i could not afford a downtime or even just a flush with read lock. hope someone can help. thanks in advanced.

Regards,  
Nhadie

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [April 4, 2012, 7:24am UTC](https://forums.percona.com/t/xtrabackup-without-locking/2229/2 "2012-04-04T07:24:38Z")

</div>

If you are using xtrabackup itself, and not innobackupex, and if you have only InnoDB tables and no MyISAM tables, then yes. The documentation covers usage of xtrabackup binary separately from innobackupex, and explains how to do this.

---

<div class="post-metadata">

**Author:** ![nhadie](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nhadie/32/867_2.png) [@nhadie](https://forums.percona.com/u/nhadie)\
**Post date:** [April 7, 2012, 7:48am UTC](https://forums.percona.com/t/xtrabackup-without-locking/2229/3 "2012-04-07T07:48:00Z")

</div>

thank you for the information, tough luck for me some of the tables here are still MyISAM. thanks again!
