XtraBackup on Debian Wheezy

If you would like to use the latest version of XtraBackup and prefer using the package manager like me, the following steps below will enable you to install XtraBackup from the Percona repositories. At the time of writing, the latest version in the Percona repo is 2.1.8.

#!/bin/bash
# add percona key to apt
apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
# create apt sources file for Percona repo
echo -e "deb http://repo.percona.com/apt wheezy main\ndeb-src http://repo.percona.com/apt wheezy main" > /etc/apt/sources.list.d/percona.sources.list
# update apt & install xtrabackup package
apt-get update && apt-get install xtrabackup
Did you find this article useful? Why not share it with your friends?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.