欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  资讯频道

Percona XtraBackup 1.6发布,开源MySQL在线热备份工具

程序员文章站 2022-05-26 16:28:33
...
Percona XtraBackup 1.6发布,开源MySQL在线热备份工具
Percona XtraBackup 1.6发布了!

Xtrabackup 是percona公司(mysqlperformanceblog)的开源项目,目的是实现类似innodb官方的热备份工具InnoDB Hot Backup的功能,可以帮助我们对MySQL InnoDB类型的数据库表进行在线热备份。

Xtrabackup中包含两个工具:
* xtrabackup - 用于热备份innodb, xtradb表的工具,不能备份其他表。
* innobackupex - 对xtrabackup封装的perl脚本,提供了myisam表备份的能力。

Xtrabackup可以做什么
* 在线(热)备份整个库的InnoDB, XtraDB表
* 在xtrabackup的上一次整库备份基础上做增量备份(innodb only)
* 以流的形式产生备份,可以直接保存到远程机器上(本机硬盘空间不足时很有用)

新增选项:

  • Added option --extra-lsndir to innobackupex. When specified for the backup phase, the option is passed to xtrabackup, and lsn information is stored with the file in the specified directory. This is needed so that lsn information is preserved during stream backup. (Vadim Tkachenko)
  • Added option --incremental-lsn to innobackupex. If specified, this option is passed directly to the xtrabackup script and --incremental-basedir is ignored. (Vadim Tkachenko)
  • Added option --incremental-dir to innobackupex. This option is passed directly to the xtrabackup binary. (Vadim Tkachenko)
  • Added option --safe-slave-backupto innobackupex. (Daniel Nichter)
  • Added option --safe-slave-backup-timeout to innobackupex. (Daniel Nichter)
其他改进:

  • Eliminated some compiler warnings. (Stewart Smith)
  • Ported XtraBackup to MySQL 5.1.55, MySQL 5.5.9, Percona Server 5.1.55-12.6, and Percona Server 5.5.9-20.1 code bases. The xtrabackup_55 binary is now based on Percona Server 5.5, rather than MySQL 5.5. Support for building against InnoDB plugin in MySQL 5.1 has been removed. (Alexey Kopytov)
  • Updates were made to made to the built-in innobackupex usage docs. (Baron Schwartz, Fred Linhoss)
  • Added a manual page for XtraBackup. (Aleksandr Kuzminsky)
  • Disabled auto-creating ib_logfile* when innobackupex is called with --redo-only or with --incremental-dir. If neccessary ib_logfile* can be created later with xtrabackup --prepare call. (Vadim Tkachenko)
  • Fixed xtrabackup exit code to improve portability: EXIT_SUCCESS on success and EXIT_FAILURE on a failure. (Aleksandr Kuzminsky)
  • For portability, the XtraBackup build script now tries to link with libaio only on Linux. (Aleksandr Kuzminsky)

Bug修正列表:http://www.mysqlperformanceblog.com/2011/04/12/percona-xtrabackup-1-6/

下载地址:http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6/

官网:http://www.percona.com/
相关标签: MySQL 开源