# extra-lsndir option not read from defaults-extra-file

**URL:** <https://forums.percona.com/t/extra-lsndir-option-not-read-from-defaults-extra-file/3686>\
**Category:** Percona XtraBackup\
**Created:** [August 21, 2014, 5:14am UTC](https://forums.percona.com/t/extra-lsndir-option-not-read-from-defaults-extra-file/3686 "2014-08-21T05:14:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![senser](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@senser](https://forums.percona.com/u/senser)\
**Post date:** [August 21, 2014, 5:14am UTC](https://forums.percona.com/t/extra-lsndir-option-not-read-from-defaults-extra-file/3686/1 "2014-08-21T05:14:52Z")

</div>

Hello,

I use xtrabackup on debian wheezy x86\_64 to backup mysql server 5.5.37. Version of xtrabackup is “percona-xtrabackup 2.2.3-4982-1.wheezy amd64”.  
Here is the content of xtrabackup.conf file:

[mysqld]

[xtrabackup]  
target-dir = /mnt/data/DB\_backup  
ibbackup = /usr/bin/xtrabackup  
compress  
compress-threads = 5  
compress-chunk-size = 256K  
parallel = 5  
user = xxxxx  
password = xxxxx  
encrypt = AES256  
encrypt-key-file = enc.key  
encrypt-threads = 5  
encrypt-chunk-size = 256K  
extra-lsndir = /mnt/data/DB\_backup/lsn

I create base backups with following command:

/usr/bin/innobackupex --defaults-extra-file=xtrabackup.conf --ibbackup=xtrabackup /mnt/data/DB\_backup

Runing innobackupex produces this xtrabackup call:

innobackupex: Starting ibbackup with command: xtrabackup --defaults-extra-file=“xtrabackup.conf” --defaults-group=“mysqld” --backup --suspend-at-end --target-dir=/mnt/data/DB\_backup/2014-08-21\_13-38-19 --tmpdir=/tmp --extra-lsndir=‘/tmp’

As you can see the last option (extra-lsndir) from xtrabackup.conf file has been ignored and replaced with (default) ‘/tmp’ dir. Other options are parsed and imported successfully.

Is there a way to place that option in defaults-extra-file so innobackupex to read it.

Regards.
