1、安裝需要的包
yum -y install cmake gcc gcc-c++ libaio libaio-devel automake autoconf bzr bison libtool zlib-devel libgcrypt-devel libcurl-devel crypt* libgcrypt* \
python-sphinx openssl imake libxml2-devel expat-devel ncurses5-devel ncurses-devle vim-common libgpg-error-devel libidn-devel
解壓并安裝libev-4.24.tar
2、下載XtraBackup源碼包percona-xtrabackup-2.4.8.tar.gz
tar zxvf percona-xtrabackup-2.4.8.tar.gz
cmake -DBUILD_CONFIG=xtrabackup_release -DWITH_MAN_PAGES=OFF -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost && make -j4
make
make install
3、工具介紹
默認(rèn)安裝路徑/usr/local/
cd /usr/local/xtrabackup/bin
[root@MySQL bin]# ll
total 220864
lrwxrwxrwx 1 root root 10 Sep 20 17:22 innobackupex -> xtrabackup
-rwxr-xr-x 1 root root 5075313 Sep 20 16:50 xbcloud
-rwxr-xr-x 1 root root 3020 Sep 20 16:47 xbcloud_osenv
-rwxr-xr-x 1 root root 4918062 Sep 20 16:50 xbcrypt
-rwxr-xr-x 1 root root 5022744 Sep 20 16:50 xbstream
-rwxr-xr-x 1 root root 211133874 Sep 20 17:21 xtrabackup
innobackupex :是要使用的備份工具
xtrabackup:被封裝在innobackupex 中,innobackupex 運(yùn)行時(shí)需要調(diào)用它
網(wǎng)站欄目:XtraBackup的安裝與介紹
URL分享:
http://weahome.cn/article/jhjsjp.html