linux中mysql数据库备份工具Xtrabackup的安装方法
发布:smiling 来源: PHP粉丝网 添加日期:2014-10-12 11:17:29 浏览: 评论:0
Xtrabackup数据库备份功能专门备份mysql innodb存储结构的数据库的,下面PHP粉丝网小伙伴就同各位同学介绍一下吧,希望例子能帮助到各位同学.
1、下载
- wget
- http://www.percona.com/redir/downloads/XtraBackup/LATEST/binary/redhat/6/x86_64/percona-xtrabackup-2.2.3-4982.el6.x86_64.rpm
2、安装,代码如下:
rpm -ivh percona-xtrabackup-2.2.3-4982.el6.x86_64.rpm
如果报下面错误的话:
- warning:percona-xtrabackup-2.2.3-4982.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
- error: Failed dependencies:
- libaio.so.1()(64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
- libaio.so.1(LIBAIO_0.1)(64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
- libaio.so.1(LIBAIO_0.4)(64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
- perl(DBD::mysql) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64 --phpfensi.com
- perl(Time::HiRes) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
安装以下依赖包,代码如下L
yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL
重新运行,代码如下:
rpm -ivh percona-xtrabackup-2.2.3-4982.el6.x86_64.rpm
即可.
Tags: linux备份工具 mysql备份 Xtrabackup
相关文章
- ·linux中MYSQL备份数据库表(多个表)(2015-04-21)
- ·linux中mysql备份所有数据库的Shell脚本(2015-04-23)
- ·WDCP中MYSQL数据库备份及还原教程(2015-04-27)
推荐文章
热门文章
最新评论文章
- 写给考虑创业的年轻程序员(10)
- PHP新手上路(一)(7)
- 惹恼程序员的十件事(5)
- PHP邮件发送例子,已测试成功(5)
- 致初学者:PHP比ASP优秀的七个理由(4)
- PHP会被淘汰吗?(4)
- PHP新手上路(四)(4)
- 如何去学习PHP?(2)
- 简单入门级php分页代码(2)
- php中邮箱email 电话等格式的验证(2)