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:
Quote:
You see, there is a directory basemysql created...
P.S. xtrabackup version is 2.0.0
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:
Quote:
...
xtrabackup: starting shutdown with innodb_fast_shutdown = 1
120503 12:08:58 InnoDB: Starting shutdown...
120503 12:09:00 InnoDB: Shutdown completed; log sequence number 1045397503747
innobackupex: Starting to copy non-InnoDB files in '/backup/mysql/my.example.com/tmp/incr/1/'
innobackupex: to the full backup directory '/backup/mysql/my.example.com/tmp/base'
innobackupex: Copying file '/backup/mysql/my.example.com/tmp/base/xtrabackup_binlog_inf o'
innobackupex: Creating directory '/backup/mysql/hostname/tmp/basemysql'
innobackupex: Copying file '/backup/mysql/my.example.com/tmp/base/columns_priv.frm'
innobackupex: Copying file '/backup/mysql/my.example.com/tmp/base/help_category.frm
...
xtrabackup: starting shutdown with innodb_fast_shutdown = 1
120503 12:08:58 InnoDB: Starting shutdown...
120503 12:09:00 InnoDB: Shutdown completed; log sequence number 1045397503747
innobackupex: Starting to copy non-InnoDB files in '/backup/mysql/my.example.com/tmp/incr/1/'
innobackupex: to the full backup directory '/backup/mysql/my.example.com/tmp/base'
innobackupex: Copying file '/backup/mysql/my.example.com/tmp/base/xtrabackup_binlog_inf o'
innobackupex: Creating directory '/backup/mysql/hostname/tmp/basemysql'
innobackupex: Copying file '/backup/mysql/my.example.com/tmp/base/columns_priv.frm'
innobackupex: Copying file '/backup/mysql/my.example.com/tmp/base/help_category.frm
...
P.S. xtrabackup version is 2.0.0