A problem when preparing an Incremental Backup with innobackupex

I created full backup at /path/to/base, and incremental ones in /path/to/incr/<1,2,3…>.

But, when i restore backup, i got a weird problem.

First, i start with full backup, (step 1)

innobackupex --apply-log --redo-only base/

but when i (step 2)

innobackupex --apply-log --redo-only base/ --incremental-dir /path/to/incr/1

I got basemysql, basemydb, baseanotherdb, … directories created in current working directory.

Is this a innobackupex bug? Or how can i do it correctly?

Here is partial log:


You see, there is a directory basemysql created…

P.S. xtrabackup version is 2.0.0