Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Dear Mitchell,
Thanks for sharing the article. But how can we take an incremental backup using xtrabackup ?
This comment has been deleted
Hi Mitchell,
Nice article!
I’m using MariaDB with Aria table storage engine. Would my db still be locked up at the end of the backup?
I keep getting this error??
150818 02:05:07 innobackupex: Connecting to MySQL server with DSN ‘dbi:mysql:;mysql_read_default_group=xtrabackup’ as ‘backupUserforme’ (using password: YES). innobackupex: Error: Failed to connect to MySQL server: DBI connect(‘;mysql_read_default_group=xtrabackup’,‘backupUserforme’,…) failed: Access denied for user ‘backupUserforme’@‘localhost’ (using password: YES) at /usr/bin/innobackupex line 2945.
Hello, Mithcell!
Thanks for the article!
I have done all of this, but after innobackupex --user=xxxxx --password=xxxxx /data/backups
I see this
-bash: !r: event not found
If the keyserver times out like so:
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
This will save you: http://serverfault.com/questions/252355/installing-percona-server-error-keyserver
Dear Mitchel, this is a great sample. I have tried to follow it step by step according your suggestion, but everything works fine until the step when i have to restore it. I’ve copied to tmp folder my data-dir, and then ran the following command: innobackupex --copy-back /data/backups/new_backup Then ran the following command: sudo chown -R mysql: /var/lib/mysql (By the way i tried to change the upside command by chown -R root: /var/lib/mysql) and : sudo service mysql start after the last command I’ve recieved an error like this: Job for mysql.service failed. See ‘systemctl status mysql.service’ and ‘journalctl -xn’ for details. As i wasnt able to restore it, what i did was to move again the folder I sent to my tmp folder to data-dir and finally could start the service again. Could you tell me if I’m doing something wrong please?
Dear Mitchell,
OS - 14.04 ubuntu
I have configured xtradbbackup by seeing this article. But when I tried to perform backup operation below is the error which I got.
160524 11:16:46 version_check Connecting to MySQL server with DSN ‘dbi:mysql:;mysql_read_default_group=xtrabackup;port=3306;mysql_socket=/var/run/mysqld/mysqld.sock’ as ‘sateam’ (using password: YES). Failed to connect to MySQL server: DBI connect(‘;mysql_read_default_group=xtrabackup;port=3306;mysql_socket=/var/run/mysqld/mysqld.sock’,‘sateam’,…) failed: Access denied for user ‘sateam’@‘localhost’ (using password: YES) at - line 1314. 160524 11:16:46 Connecting to MySQL server host: localhost, user: sateam, password: set, port: 3306, socket: /var/run/mysqld/mysqld.sock Failed to connect to MySQL server: Access denied for user ‘sateam’@‘localhost’ (using password: YES).
I have installed the below things as well but still it is not working .
ii libdbd-mysql-perl 4.025-1 amd64 Perl5 database interface to the MySQL database ii libdbi-perl 1.630-1 amd64 Perl Database Interface (DBI)
Can you help me out on this ?
Thank you in advance
As of October 13, 2016, the Percona repository key has changed from the key mentioned in this tutorial.
apt-key adv --keyserver keys.gnupg.net --recv-keys 8507EFA5 or
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8507EFA5
Reference: https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/