On April 4th 2012 Xtrabackup 2.0 was released in to GA by Percona along with a new streaming feature called xbstream. This new tool allowed for compression and parallelism of streaming backups when running xtrabackup or innobackupex without having to stream using tar, then pipe to gzip or pigz, then pipe to netcat or socat to stream your backup to the recipient server. This resulted in …
[Read more]Percona announces the GA release of Percona XtraBackup 2.4.6 on February 22, 2017. You can download it from our download site and apt and yum repositories.
Percona XtraBackup enables MySQL backups without blocking user queries, making it ideal for companies with large data sets and mission-critical applications that cannot tolerate long periods of downtime. Offered free as an open source solution, Percona …
[Read more]Percona announces the release of Percona XtraBackup 2.3.7 on February 22, 2017. Downloads are available from our download site or Percona Software Repositories.
Percona XtraBackup enables MySQL backups without blocking user queries, making it ideal for companies with large data sets and mission-critical applications that cannot tolerate long periods of downtime. Offered free as an open source solution, Percona XtraBackup drives down backup costs while providing unique features for MySQL backups.
This release is the …
[Read more]Percona XtraBackup is free and open source backup tool for MySQL. Percona distributes XtraBackup via package repositories for RedHat and Debian.
Unfortunately there are no packages for Mac OS. In this post I will describe how to build XtraBackup for Mac OS.
Dependencies
To build and use XtraBackup on Mac OS you need to install some additional packages. I will use MacPorts to install the dependencies.
# port install cmake p5.16-dbd-mysql
Building XtraBackup for Mac OS
Download the source code from …
[Read more]In general, I chose Google Cloud Storage to store web sites MySQL backups due to its price and speed of upload/download in real time
I used the Google native tool – gsutil , innobackupex and some bash
in short : the /etc and local MySQL backup
#!/bin/sh # Barcelona Tue Nov 22 17 16:30:36 CEST 2013 days_to_keep=3 NFS=/home/mysql.backups/ exportDate=`date +%Y-%m-%d.%H.%M.%S` export_DIR=${NFS}/${HOSTNAME}.${exportDate} test ! -d "${export_DIR}" && echo "$(date) : creating ${export_DIR}" && mkdir -p "${export_DIR}" export_MySQL_DIR=${export_DIR}/mysql.bckp export_ETC_DIR=${export_DIR}/etc.bckp # backup the /etc directory rsync …[Read more]
One very interesting feature, “Compact Backup,” is introduced in Percona XtraBackup 2.1. You can run “compact backups” with the –compact option, which is very useful for those who have limited disk space to keep the database backup. Now let’s first understand how it works. When we are using –compact option with Innobackupex, it will omit the secondary index pages. This will make the backups more compact and this way they will take less space on disk but the downside of this is, the backup prepare process will take longer time because those secondary index pages will be recreated while preparing the backup. Here, we need to consider couple of things before implement …
[Read more]Percona is glad to announce the release of Percona XtraBackup 2.1.2 for MySQL on May 18, 2013. Downloads are available from our download site here and Percona Software Repositories.
This release fixes number of high-priority bugs since version 2.1 became GA. It’s advised to upgrade your latest 2.1 version to 2.1.2. This release is the latest stable release in the 2.1 series.
Bugs Fixed:
- Using Perl’s
DBD::MySQL
package for server communication instead of spawning the MySQL command line client …
We wanted to optimize and test backups for one of our new large scale setup before we could finalize on the backup plan. Our challenge was the data volume was almost 30x more than our normal volumes. Since this involved large volume of data we thought this might be a good candidate to test incremental backups. We wrote a wrapper script to save the states between full backups and incremental backups and did some tests with smaller data sets. It worked perfectly fine. The version of xtrabackup we were testing was 1.6.2.
The incremental backups were completing well within 30minutes. We set out to test what would happen if the amount of incremental diff was large. While doing this test, we started getting backup failures with the following error
20110726_225312.log-110727 00:56:10
innobackupex: Starting to backup .frm, .MRG, .MYD,
.MYI,
20110726_225312.log-innobackupex: …
Backups are an integral and very important part of any system. Backups allow you to recover your data and be up and running again, in the advent of problems such as system crashes, hardware failures or users deleting data by mistake. I had been evaluating backup solution for a while but to be honest I really wasn't satisfied with the solutions available until I came across XtraBackup and I am loving it since. In this post I intend on showing how to do backups and restores using XtraBackup.