# Is the return code from innobackupex reliable?

**URL:** <https://forums.percona.com/t/is-the-return-code-from-innobackupex-reliable/2739>\
**Category:** Percona XtraBackup\
**Created:** [June 5, 2013, 12:05pm UTC](https://forums.percona.com/t/is-the-return-code-from-innobackupex-reliable/2739 "2013-06-05T12:05:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![miguelangelnieto](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@miguelangelnieto](https://forums.percona.com/u/miguelangelnieto)\
**Post date:** [June 6, 2013, 4:12am UTC](https://forums.percona.com/t/is-the-return-code-from-innobackupex-reliable/2739/2 "2013-06-06T04:12:46Z")

</div>

The returned code should be reliable. This is a test with the latest version:

130606 11:40:43 innobackupex: Connection to database server closed  
130606 11:40:43 innobackupex: completed OK!  
root@vagrant-debian-squeeze-64:/home/vagrant# echo $?  
0

I think that the best way to debug this is to log the output of innobackupex to a file and then check it after a failed backup report. You can paste here the log if you need help.

---

_[View the full topic](https://forums.percona.com/t/is-the-return-code-from-innobackupex-reliable/2739)._
