Installing and running Xrabackup

Hello all,

First of all I would liek to let you know that I have a little experience on mysql so my questions could be sound stupid to some of you but I need your help.

  • Installed using #rpm -Uvh percona-release-0.1-3.noarch.rpm under a temp user I created.
    Question: How can I start testing xtrabackup in order to perform a test backup of mysql DB, is there any console that I have to access like mysql or just issuing below command should work (which doesn’t so maybe I did soemthing wrong on instalaltion)
    [COLOR=#BB60D5]$ xtrabackup --backup --datadir=/var/lib/mysql/ --target-dir=/data/backups/mysql/
    Thank you and lookign for your replies.
    George

Hi George;

Looks like you got the Percona repo installed, so now you need to install Xtrabackup:

$ yum install percona-xtrabackup

Then take a look at the many guides on the Percona website regarding how to do various backup scenarios, from a basic full backup/restore, to incremental backups, etc.

[url]How-tos and Recipes

-Scott

Thank you Scott!!