There should be some misunderstanding.
Innobackupex does not lock for copying .ibd files.
Lock is applied only to copy MyISAM and frm files.
> --
> You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
> To post to this group, send email to percona-d...@googlegroups.com.
> To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
>
>
--
Vadim Tkachenko, CTO, Percona Inc.
Phone +1-888-401-3403, Skype: vadimtk153
Schedule meeting: http://tungle.me/VadimTkachenko
Join us at Percona Live London!
http://www.percona.com/live/london-2011/
I am not sure why is that, it requires debugging.
I can recommend you to try --no-lock --safe-slave-backup
options, in this case, you will have still reliable --slave-info.
But you need to make sure there is no changes into MyISAM during backup.
> For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
On Fri, Jul 22, 2011 at 1:05 PM, Bar Ziony <bar...@gmail.com> wrote:
> Vadim,
> Thank you for the insight on --no-lock and --safe-slave-backup. some
> questions:
> 1) How .frm files are copied than ? And how does --safe-slave-backup works
> without locking? How do you get the binlog number and position without
> entering a to race condition (because there's no locking) ?
This assumes do you not make changes to .frm during copy.
That is you do not run DDL statements.
> 2) The 'mysql' db is MyISAM , right? How can I avoid changes to it ?
I assume you have control of your environment. Changes to mysql
are usually some priveleges or system changes, which does
not happen without DBA.
However if you have no control - then you probably should not use --no-lock
> 3) Can I one time copy All InnoDB databases with --no-lock and
> --safe-slave-backup and then after that copy all the MyISAM databases
> (really small, fast backup) with regular --slave-info (and locking), and
> somehow still have a backup that can be the initial slave data?
I do not think so. Most likely you will end up with database in
non-synchronous condition.