Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and introduction of XtraBackup

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1. Install the required packages

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

Extract and install libev-4.24.tar

2. Download the XtraBackup source code package 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. Introduction of tools

Default installation path / 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: is the backup tool to use

Xtrabackup: encapsulated in innobackupex, which the innobackupex runtime needs to call

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report