innobackupex安装 详解
来源:互联网 发布:base64decoder 源码 编辑:程序博客网 时间:2024/05/29 01:52
最近做mysql数据库备份,尝试热备,使用了innobackupex ,总结一下安装的过程。
首先下载安装包:http://www.percona.com/downloads/XtraBackup/。根据系统下载对应的安装包,我的是ubuntu16,所以下载的percona-xtrabackup-24_2.4.8-1.xenial_amd64.deb
- 执行 sudo dpkg -i percona-xtrabackup-24_2.4.8-1.xenial_amd64.deb
其中dpkg -i是deb 文件的执行命令。 语句执行后应该会报错,不用担心 ,缺少依赖了,错误如下:
Selecting previously unselected package percona-xtrabackup-24.(Reading database ... 65953 files and directories currently installed.)Preparing to unpack percona-xtrabackup-24_2.4.8-1.xenial_amd64.deb ...Unpacking percona-xtrabackup-24 (2.4.8-1.xenial) ...dpkg: dependency problems prevent configuration of percona-xtrabackup-24:percona-xtrabackup-24 depends on libdbd-mysql-perl; however:Package libdbd-mysql-perl is not installed.percona-xtrabackup-24 depends on libcurl3 (>= 7.16.3); however:Package libcurl3 is not installed.percona-xtrabackup-24 depends on libev4 (>= 1:4.04); however:Package libev4 is not installed.dpkg: error processing package percona-xtrabackup-24 (--install):dependency problems - leaving unconfiguredProcessing triggers for man-db (2.7.5-1) ...Errors were encountered while processing:percona-xtrabackup-24
2.根据报错提示,尝试安装缺少的依赖包,执行了语句: sudo apt-get install libev4:
语句执行后仍然报错:
Reading package lists... DoneBuilding dependency treeReading state information... DoneYou might want to run 'apt-get -f install' to correct these:The following packages have unmet dependencies:percona-xtrabackup-24 : Depends: libdbd-mysql-perl but it is not going to be installedDepends: libcurl3 (>= 7.16.3) but it is not going to be installedE: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
3. 继续根据报错提示执行 语句:sudo apt-get -f install
这条语句执行后,依赖补全了。
4.sudo dpkg -i percona-xtrabackup-24_2.4.8-1.xenial_amd64.deb
再次执行安装语句,安装成功了。
后面的文章再加上备份的脚本及执行的相关内容。
阅读全文
0 0
- innobackupex安装 详解
- innobackupex<五、参数详解>
- innobackupex备份恢复详解
- mysql备份还原-xtrabackup2.2.3工具innobackupex脚本用法详解
- mysql备份还原-xtrabackup2.2.3工具innobackupex脚本用法详解
- CentOS安装使用innobackupex增量备份指定数据库
- innobackupex备份恢复详解及详细增量备份及恢复脚本
- XtraBackup,在使用innobackupex 中出现了错误: perl-DBD-MySQL 无法安装
- innobackupex参数说明
- innobackupex介绍与使用
- innobackupex参数说明
- innobackupex工具做备份
- innobackupex的使用
- innobackupex存储备份历史
- Innobackupex 全备数据库
- innobackupex备份恢复使用!
- innobackupex参数之--incremental
- mysql innobackupex备份恢复
- 2.9 Linux tty终端
- JavaScript正则表达式之最简得到字符串
- SQL SERVER还原数据库时"试图扩大物理文件时,MODIFY FILE 遇到操作系统错误 112(磁盘空间不足)"错误处理
- Android 谷歌输入法安装包
- 6种数据的保存
- innobackupex安装 详解
- 文章标题
- 判断字符串中是否存在子字符串,不区分大小写
- weak global reference table overflow (max=51200)
- TIPS_备忘
- PHP filter过滤器的基础使用
- 数据结构实验四之顺序栈
- 解决idea引入jsp标签库报500的问题
- Google离线API地图调用示例源码功能