EmergencyEMERGENCY? Get 24/7 Help Now!

Xtrabackup, doing once…

Posted on:



Share Button

After some sprint coding and testing I am more than happy to declare Xtrabackup getting into alpha stage. And alpha means more that we have some dirty hacks in code / not fully scripted builds / not fully tested all MySQL versions, but backups work just fine! I am able to backup our production box and restore it!

As there were some questions how xtrabackup works, let me explain it: it is supposed to be online, non-blocking backup solution for InnoDB / XtraDB engines for MySQL 5.0 / 5.1 versions. Currently we tested only for 5.0.75 / 5.0.77 and it works just fine. We also modified innobackup script ( thanks InnoDB for making it GPL), so it can be used to backup of MyISAM tables also.

Beside standard –backup and –prepare options we have implemented –throttle to limit IO activity during backup, so we do not hurt production box by intensive file copying operations.

As for now it is available only in source code version on Launchpad lp:~percona-dev/percona-xtrabackup/alpha-0.2 , after some polishing and more testing we will prepare binary builds. Test it if you can and send us feedback. Enjoy!

Share Button

Vadim Tkachenko

Vadim leads Percona's development group, which produces the Percona Server, Percona Server for MongoDB, Percona XtraDB Cluster and Percona XtraBackup. He is an expert in solid-state storage, and has helped many hardware and software providers succeed in the MySQL market.



Percona Software

  • If in understand correctly it should be working for standard InnoDB tables, shouldn’t it? If so, I shall be able test it on an some MySQL servers (5.0.51 in production and 5.0.67 in development) next monday.


  • Julien,

    Right, it should work with standard InnoDB tables.


  • Can’t wait to check it out! What are the db performance implications while the backup is being taken? How does the speed of the backup compare to mysqldump or LVM? What kind of compression does it use?


  • Gil,

    You can test it right now!

    We did not check performance implication yet, but on quick look it does not hurt production a lot.
    There is no compression yet, it is in short TODO list.


  • Throttling is indeed a very nice feature to have.

    Speaking of which (and speaking about nice ;), would it be possible to have the option to use “ionice -c3” on linux, to lower I/O priority of the backup process while keeping it able to use resources when there’s resources available (as opposed to a hard IOPS upper bound limit)?

    Another throttling ability that would be useful, if Xtrabackup works by copying files and plans to have the option to make use of rsync, would be to expose the “–bwlimit” rsync option to end user. That would help to prevent saturating block or network bandwidth.


  • Maybe is not too late :)

    – Purge (autom. removal of old backups)
    – Email Notification

    Great job guys, not only with xtrabackup but with all the efforts made by Percona!

    Congratulations and thank you very much.



Leave a Reply

Percona’s widely read Percona Data Performance blog highlights our expertise in enterprise-class software, support, consulting and managed services solutions for both MySQL® and MongoDB® across traditional and cloud-based platforms. The decades of experience represented by our consultants is found daily in numerous and relevant blog posts.

Besides specific database help, the blog also provides notices on upcoming events and webinars.

Want to get weekly updates listing the latest blog posts? Subscribe to our blog now! Submit your email address below.

No, thank you. Please do not ask me again.