使用Innobackupex进行MySQL数据库的备份及恢复
1. Innobackupex下载及说明
使用innobackupex
进行备份和恢复:
innobackupex
下载地址:https://www.percona.com/downloads
Xtrabackup 2.4.已经不支持MySQL 8.0的备份恢复,使用会报如下错误:
Error: MySQL 8.0 and Percona Server 8.0 are not supported by Percona Xtrabackup 2.4.x series. Please use Percona Xtrabackup 8.0.x for backups and restores.
innobackupex在MySQL 8.0及更高版本中已被弃用,因为 Percona XtraBackup 从 8.0版本开始重构了架构,移除了 innobackupex 工具,改为仅支持xtrabackup命令行方式
■ RPM包的安装方式: