Verified by changing the bug759701.sh test like this:
--- test/t/bug759701.sh 2011-12-21 16:40:27 +0000 +++ test/t/bug759701.sh 2012-05-22 13:48:07 +0000 @@ -37,7 +37,7 @@ innobackupex --apply-log --redo-only $full_backup_dir vlog "Log applied to full backup"
-innobackupex --apply-log --redo-only --incremental-dir=$inc_backup_dir \ +innobackupex --apply-log --redo-only --incremental-dir=$inc_backup_dir/ \ $full_backup_dir vlog "Delta applied to full backup"
So the bug occurs when the path in --incremental-dir ends with a slash.
The workaround is to remove the trailing slash from the --incremental-dir argument.
Verified by changing the bug759701.sh test like this:
--- test/t/bug759701.sh 2011-12-21 16:40:27 +0000
+++ test/t/bug759701.sh 2012-05-22 13:48:07 +0000
@@ -37,7 +37,7 @@
innobackupex --apply-log --redo-only $full_backup_dir
vlog "Log applied to full backup"
-innobackupex --apply-log --redo-only --incremental- dir=$inc_ backup_ dir \ dir=$inc_ backup_ dir/ \ backup_ dir
+innobackupex --apply-log --redo-only --incremental-
$full_
vlog "Delta applied to full backup"
So the bug occurs when the path in --incremental-dir ends with a slash.
The workaround is to remove the trailing slash from the --incremental-dir argument.