XtraBackup的安装与介绍-创新互联
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、工具介绍
默认安装路径/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 运行时需要调用它
分享名称:XtraBackup的安装与介绍-创新互联
URL分享:
http://dzwzjz.com/article/dhseho.html