~akopytov/percona-xtrabackup/bug713267-1.6

  • Committer: Alexey Kopytov
  • Date: 2012-05-22 14:52:54 UTC
  • Revision ID: akopytov@gmail.com-20120522145254-v0h6obuzrg8zc6ke
Bug #1002688: innobackupex incremental apply-log copies to wrong
directory

The problem was that the copy_dir_recursively() routine relied on both
the source path and the target one to be in the canonical format,
i.e. not having any trailing slashes. However, when copying files after
merging an incremental backup to the full backup directory, the target
path (i.e. the full backup directory) was always in the canonical
format, because innobackupex calls File::Spec->rel2abs() on it in
check_args(), but the source path (i.e. the --incremental-directory
value) might not be in the canonical format in case the user specified
it with a trailing slash.

Fixed by canonizing both source and the target directories in
copy_dir_recursively() so it does not rely on the arguments format.
Filename Latest Rev Last Changed Committer Comment Size
..
contrib 241.2.1 13 years ago Daniël van Eeden Add contrib directory with an backup script exampl Diff
doc 213.3.1 13 years ago Aleksandr Kuzminsky Added XtraBackup manual page Diff
patches 228.1.2 13 years ago Alexey Kopytov Port XtraBackup to Percona Server 5.5.9-beta20.1 c Diff
test 134.1.1 13 years ago Aleksandr Kuzminsky Added the XtraBackup test framework Diff
utils 30.1.2 15 years ago Vadim Tkachenko directory restructure Diff
BUILD.txt 280 12 years ago Stewart Smith backport BUILD.txt fixes 2.7 KB Diff Download File
COPYING 174.1.1 13 years ago Stewart Smith add COPYING file with GPLv2 license. xtrabackup is 18.6 KB Diff Download File
File innobackupex 339 11 years ago Alexey Kopytov Bug #1002688: innobackupex incremental apply-log c 96 KB Diff Download File
Symlink innobackupex-1.5.1 216 13 years ago Vadim Tkachenko Bugfix #701767 Script innobackupex-1.5.1 renamed .
Makefile 297 12 years ago Stewart Smith Merge 1.4 release tag 7.8 KB Diff Download File
VERSION 327 12 years ago Stewart Smith bump version number after 1.6.5 release 25 bytes Diff Download File
xtrabackup.c 332 12 years ago Stewart Smith merge bug fix for bug733651 that we somehow previo 175 KB Diff Download File