innobackupex fails when innodb_dir specified

Bug #346197 reported by Percona on 2009-03-21
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to
Fix Released

Bug Description

innobackupex fail if a have innodb_data_home_dir & innodb_log_group_home_dir in my my.cnf

innodb_data_home_dir = /var/lib/mysql
innodb_log_group_home_dir = /var/lib/mysql

#>innobackupex-1.5.1 --databases=saturn --user=root --password=******* --slave-info /tmp

InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy.
All Rights Reserved.

This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.

IMPORTANT: Please check that the backup run completes successfully.
           At the end of a successful backup run innobackup
           prints "innobackup completed OK!".

innobackupex: Using mysql Ver 14.14 Distrib 5.1.31, for unknown-linux-gnu (x86_64) using readline 5.1
innobackupex: Using mysql server version 5.1.31-percona-log

innobackupex: Created backup directory /tmp/2009-03-21_00-40-56
090321 00:40:56 innobackupex: Starting mysql with options: --unbuffered --password=****** --user=root
090321 00:40:56 innobackupex: Connected to database with mysql child process (pid=32443)
090321 00:41:00 innobackupex: Connection to database server closed

090321 00:41:00 innobackupex: Starting ibbackup with command: xtrabackup --backup --suspend-at-end --target-dir=/tmp/2009-03-21_00-40-56
innobackupex: Waiting for ibbackup (pid=32450) to suspend
innobackupex: Suspend file '/tmp/2009-03-21_00-40-56/xtrabackup_suspended'

xtrabackup Ver alpha-0.3 for 5.0.77 unknown-linux-gnu (x86_64)
>> log scanned up to (34 1558149409)
090321 0:41:00 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: File name /tmp/2009-03-21_00-40-56/var/lib/mysql/ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
innobackupex: Error: ibbackup child process has died at /usr/bin/innobackupex-1.5.1 line 427.

Changed in percona-xtrabackup:
importance: Undecided → High
status: New → Fix Committed
assignee: nobody → yasufumi-kinoshita
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers