← Back to team overview

percona-discussion team mailing list archive

[Bug 359341] Re: innobackupex still does not read defaults-file

 

my /etc/my.cnf.bak is

[mysqld]
#debug
basedir=/usr
datadir=/mnt/data/db
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

max_allowed_packet=16M
table_cache=2048

default-character-set=utf8

max-connections=512
net_read_timeout=7200
net_write_timeout=7200

innodb_log_file_size=256M


and I do not have /etc/my.cnf file

-- 
innobackupex still does not read defaults-file
https://bugs.launchpad.net/bugs/359341
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona-XtraBackup.

Status in Open source backup tool for InnoDB and XtraDB: New

Bug description:
It fails for me

innobackupex-1.5.1 --defaults-file=/etc/my.cnf.bak --apply-log /mnt/data/db/                                   

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 apply-log run completes successfully.
           At the end of a successful apply-log run innobackup
           prints "innobackup completed OK!".


innobackupex:: Warning: Ignored unrecognized line 2 in options : 'Error: Please set parameter 'datadir'
'
innobackupex: fatal error: no 'mysqld' group in MySQL options



References