LP #1520569: creates empty dir after upgrading

Description

After upgrading to innobackupex 2.3.2 an empty directory is created in the same directory where the script is executed

When running the syntax from the command line as root no directory is created, but when running the command from php-cli as root a new empty directory is created each time the script is running

Empty dir:
/var/www/2015-11-21_02-58-58

Version:
innobackupex -v
innobackupex version 2.3.2 Linux (x86_64) (revision id: 306a2e0)

Command line as root:
innobackupex --defaults-file=/var/ini/mysql/my.cnf --user=root --password=xxx --databases="db1 db2 mysql" --stream=tar ./ 2> /var/www/bak/db/innobackupex.log | gzip -c -1 > /var/www/bak/db/2015-11-27-1244_mysql.tar.gz

From php-cli as root:
exec('innobackupex --defaults-file=/var/ini/mysql/my.cnf --user=root --password=xxx --databases="db1 db2 mysql" --stream=tar ./ 2> /var/www/bak/db/innobackupex.log | gzip -c -1 > /var/www/bak/db/2015-11-27-1244_mysql.tar.gz');

Environment

None

Smart Checklist

Activity

Show:

Lalit Choudhary July 24, 2018 at 11:08 AM

Thank You for the report.

Cannot reproduce the bug, because it is already fixed in 2.3.3 version.

https://www.percona.com/doc/percona-xtrabackup/LATEST/release-notes/2.3/2.3.3.html

Done

Details

Assignee

Reporter

Components

Fix versions

Priority

Smart Checklist

Created January 19, 2018 at 2:24 PM
Updated January 6, 2020 at 12:07 AM
Resolved July 24, 2018 at 11:08 AM