percona-discussion team mailing list archive
-
percona-discussion team
-
Mailing list archive
-
Message #00721
problem with xtrabackup
Hi
I am trying to backup mysql database using xtrabackup. But it is giving me
error.
innobackupex-1.5.1 --defaults-file=/usr/local/mysql-5.5/my.cnf /backup/
--user=user --password=password
--ibbackup-binary=/home/deployer/xtrabackup-1.6.3/bin/xtrabackup_55
111010 16:07:41 innobackupex: Starting mysql with options:
--password='password'
--user='root' --socket='/tmp/mysql-5.5.sock' --unbuffered --
111010 16:07:41 innobackupex: Connected to database with mysql child
process (p
id=23850)
111010 16:07:47 innobackupex: Connection to database server closed
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
innobackupex: Using mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu
(x86_6
4) using readline 5.1
innobackupex: Using mysql server version Copyright (C) 2000-2008 MySQL AB
innobackupex:: Warning: Ignored unrecognized line 2 in options :
'xtrabackup: Er
ror: Please set parameter 'datadir'
'
innobackupex: fatal error: no 'mysqld' group in MySQL options
innobackupex: fatal error: OR no 'datadir' option in group 'mysqld' in MySQL
opt
ions
Kuldeep Sirohi
Database Administrator | HeadHonchos
E-49/3, Okhla Industrial Area Phase II, New Delhi 110 020, India
Phone: +91 11 4752 2907
Extn. 951 Fax: +91 11 4752 2951
<http://www.headhonchos.com/> www.headhonchos.com | An ABC Consultants
initiative
This electronic message transmission contains information from HeadHonchos
and is confidential or privileged. The information is intended to be for the
use of the individual or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution, or use of
the contents of this information is prohibited. If you have received this
electronic transmission in error, please notify us by telephone immediately
at +91-11- 47592900 or mail us at <mailto:webmaster@xxxxxxxxxxxxxxx>
webmaster@xxxxxxxxxxxxxxx