Based xtrabackup to implement backup and recovery InnoDB storage engine

         In InnoDB storage engine, xtrabackup can be completely prepared in the form of heat, to achieve fast and reliable full backup and a partial backup, incremental backup support, support time point during backup operation does not disturb the transaction, the effective compression save disk space, the backup is completed automatically verify that the data is available, faster recovery. These advantageous properties can only achieve perfection in the InnoDB engine, but still can only use the equipment in the form of warm MyISAM storage engine and does not support incremental backups.

1. Download the installation package xtrabackup

wget https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-8.0-6/binary/redhat/7/x86_64/percona-xtrabackup-80-8.0.6-1.el7.x86_64.rpm

2. Installation dependencies

wget ftp://rpmfind.net/linux/atrpms/el6-x86_64/atrpms/stable/libev-4.04-2.el6.x86_64.rpm
rpm -ivh libev-4.04-2.el6.x86_64.rpm
yum -y install perl-DBD-MySQL
yum -y install perl-Digest-MD5
yum -y install rsync

3. Install xtrabackup

rpm -ivh percona-xtrabackup-80-8.0.6-1.el7.x86_64.rpm













Guess you like

Origin blog.51cto.com/14296289/2421211