发布于 2014-11-03 22:24:23 | 190 次阅读 | 评论: 0 | 来源: 网友投递
Xtrabackup MySQL 备份工具
Xtrabackup是一个对InnoDB做数据备份的工具,支持在线热备份(备份时不影响数据读写),是商业备份工具InnoDB Hotbackup的一个很好的替代品。
XtraBackup 是一个用来备份 MySQL 的 InnoDB 数据库的开源工具。
Xtrabackup是一个对InnoDB做数据备份的工具,支持在线热备份(备份时不影响数据读写),是商业备份工具InnoDB Hotbackup的一个很好的替代品。
Percona XtraBackup 2.2.6 发布,此版本现已提供在下载页面和Percona 软件库。此版本支持 Ubuntu 14.10 和 CentOS7。
更新内容如下:
新特性
Percona XtraBackup now reads server options from SHOW VARIABLES
rather than my.cnf
configuration file.
Percona XtraBackup now has more verbose output during initial table scan (it will now print a diagnostic message before performing a tablespace scan, which may take a long time on systems with large numbers of tablespaces) and before starting a backup/apply-log/copy-back operation in innobackupex (it will now print a diagnostic message with a timestamp to make it easier for users to get duration of the operation.)
Bugs 修复:
innobackupex didn’t take the default datadir
, which caused backups to fail if the datadir
wasn’t specified in the my.cnf
configuration file. Bug fixed #936934.
innobackupex will now fail with an error when innobackupex –slave-info is used on a multi-threaded non-GTID slave, because Exec_Master_Log_Pos
cannot be trusted for a multi-threaded slave. Bug fixed #1372679.
InnoDB log scanning failure (bug #60788) would cause backups to fail. Fixed by porting the fix from MySQL 5.7. Bug fixed #1375383.
Options --apply-log
and --decompress
weren’t marked as mutually exclusive, ie. if they were both specified, only --decompress
would work, which could lead to MySQL instance being started with an unprepared backup. Fixed by making mutually exclusive categories of options: 1. --decompress
, --decrypt
; 2. --copy-back
; 3. --move-back
; 4. --apply-log
. Bug fixed #1376874.
innobackupex wasn’t creating directories specified in innodb_data_home_dir
and innodb_log_group_home_dir
when --copy-back
option was used. Bug fixed #1382347.
Percona XtraBackup now supports all option modifiers supported by upstream MySQL: skip, disable, enable, maximum, loose. Bug fixed #664128.
Percona XtraBackup would fail to perform a full backup on Percona Server 5.5 if innodb_log_file_size
variable wasn’t set in the [mysqld]
section of my.cnf
. Bug fixed #1334062.
其他 bug 修复:#1379905, #1386013, #1072695, #1375241, #1182841 和 #1343722.
更多内容请看 online documentation。