# innobackupex throwing error

**URL:** <https://forums.percona.com/t/innobackupex-throwing-error/2171>\
**Category:** Percona XtraBackup\
**Created:** [October 3, 2011, 7:19pm UTC](https://forums.percona.com/t/innobackupex-throwing-error/2171 "2011-10-03T19:19:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tvinod](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tvinod](https://forums.percona.com/u/tvinod)\
**Post date:** [October 3, 2011, 7:19pm UTC](https://forums.percona.com/t/innobackupex-throwing-error/2171/1 "2011-10-03T19:19:22Z")

</div>

Hi,  
I just installed percona server and loaded all my data from existing mysql installation on a different host. i did that by moving the entire datadir to the new machine. i am able to see the data in mysql client.

but innobackupex is not working for me. xtrabackup is working. but i have some tables that are myISAM, so i need innobackupex. also xtrabackup doesn’t backup the schema right.

can someone help? this is an aws ec2 linux instance.

* * *

[ec2-user@ip-10-68-145-124 bin]$ sudo ./innobackupex --user=USER --password=PASSWORD --use-memory=4G /media/ephemeral0/mysql\_backups\_innobackupex

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

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

## 111004 00:37:33 innobackupex: Starting mysql with options: --password=‘yantra\_123’ --user=‘root’ --unbuffered – 111004 00:37:33 innobackupex: Connected to database with mysql child process (pid=4922) innobackupex: Error: mysql child process has died: sh: mysql: command not found

the interesting thing is that i can run the mysql command above and also run the hello check that the innobackupex is running. i don’t know why its not working then.

thanks  
vinod
