~akopytov/percona-xtrabackup/bug759701-1.6

Viewing all changes in revision 313.

  • Committer: Alexey Kopytov
  • Date: 2011-12-21 16:40:27 UTC
  • Revision ID: akopytov@gmail.com-20111221164027-ol82f09amhj3jkch
Bug #759701: innobackupex does not copy non-InnoDB files when applying
incremental backups

When applying an incremental backup to the full backup directory,
innobackupex did not copy non-InnoDB files resulting in lost changes to
.frm and non-InnoDB tables made between full and incremental backups.

Fixed by introducing the copy_dir_recursively() subroutine which does
what the name says. It will also skips files specified as a regexp
passed as the third argument. Now both --copy-back and the code applying
incremental backups use that subroutine to copy non-InnoDB files and
xtrabackup metainfo files like xtrabackup_{binlog,slave}_info.

That code can also be extended later to use rsync when the --rsync
option is used.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: