Can't call method "disconnect" on an undefined value at innobackupex line 1482.

Hi,

I’m trying to create a backup of one specific database and I keep running into this error. Has anyone encountered this error yet? I googled it but alas, not a lot to go on…

[oracle@foo mysqlback]$ innobackupex --user=dbabck --password=********* --apply-log --export --include=“^restoretest.” /u03/mysqlback/
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = “UTF-8”,
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).

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

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

130816 11:09:22 innobackupex: Connecting to MySQL server with DSN ‘dbi:mysql:;mysql_read_default_group=xtrabackup’ as ‘dbabck’ (using password: YES).
130816 11:09:22 innobackupex: Connected to MySQL server
Connected successfully
Can’t call method “disconnect” on an undefined value at /usr/bin/innobackupex line 1482.
[oracle@foo mysqlback]$

Thanks in advance for any feedback!
Wim

Ok never mind silly old me. the --apply-log and --export options point to an existing backup that’s prepared for a restore.