Install innobackupex in binary mode
Purpose
Install innobackupex in binary mode
Environment
OS: CentOS 6.6 32bit
Introduction
Official Website: https://www.percona.com/
Https://www.percona.com/downloads/XtraBackup/LATEST/
After opening the webpage, some children's shoes may ask: "didn't you want to teach us how to install innobackupex? A link is used to download XtraBackup. What is the problem ?", Yes, I didn't give it an error, and you didn't get it wrong, because innobackupex is actually an encapsulation of XtraBackup. It is more powerful than XtraBackup, because it not only backs up InnoDB tables, but also MyISAM tables.
There are three ways to install XtraBackup. The first method is to install the RPM package. The advantage is that the files to be downloaded are small and easy to install. The second method is to install the RPM package through source code, its advantage is that it is not affected by the platform architecture. Whether it is 32-bit or 64-bit, you only need to download a source code package. Its disadvantage is that it takes a long time, is difficult to install, and relies heavily on software; the third method is binary installation. This method is the simplest. You only need to download the Binary Package of the corresponding system version from the official website and decompress it on the server, copy the corresponding file to the corresponding directory. It is recommended for beginners.
This article only introduces the installation in binary mode. First, open the official website provided above and then follow the instructions.
After the download, upload the file to the server (of course, you can also download the file directly using wget on the server ).
Operation
# Decompress
Tar xzf percona-xtrabackup-2.3.2-Linux-i686.tar.gz
# Enter the extracted directory
Cd percona-xtrabackup-2.3.2-Linux-i686/
# Copy the xtrabackup command and innobackupex command in the bin directory to the/usr/bin/directory.
Cp bin/{xtrabackup, innobackupex}/usr/bin/
# Copy the corresponding man file to the corresponding man directory
Cp man/man1/{xtrabackup.1, innobackupex.1}/usr/share/man/man1/
The installation of innobackupex is completed through the above steps, isn't it easy?
This article permanently updates the link address: