XtraBackup 是一个用来备份 MySQL 的 InnoDB 数据库的开源工具。
例如执行增量备份的命令是:
# ./xtrabackup --backup --target-dir=/backup/delta --incremental-basedir=/backup/base
增加的选项
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)
XtraBackup 1.6 还修复了大量的bug,详情请看这里。