# innobackupex produces compressed archives (can't apply logs)

**URL:** <https://forums.percona.com/t/innobackupex-produces-compressed-archives-cant-apply-logs/4819>\
**Category:** Percona XtraBackup\
**Created:** [March 31, 2016, 9:25pm UTC](https://forums.percona.com/t/innobackupex-produces-compressed-archives-cant-apply-logs/4819 "2016-03-31T21:25:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethaniel](https://avatars.discourse-cdn.com/v4/letter/e/ba8739/32.png) [@ethaniel](https://forums.percona.com/u/ethaniel)\
**Post date:** [March 31, 2016, 9:25pm UTC](https://forums.percona.com/t/innobackupex-produces-compressed-archives-cant-apply-logs/4819/1 "2016-03-31T21:25:40Z")

</div>

I am using “innobackupex --export --tables-file=/root/tables.txt /tmp/backup”.

I’ve noticed that after the backup I can’t apply logs immediately (“innobackupex --apply-log /tmp/backup/2016-02-14\_03-43-42”) and I need to decompress the files first (“innobackupex --decompress /tmp/backup/2016-02-14\_03-43-42”).

Without applying the logs my files are corrupted.

- twice as time is wasted on compression/decompression.

Is there a way to export through innobackupex without compression? I love innobackup because it can export files in parallel.

---

<div class="post-metadata">

**Author:** ![mirfan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mirfan/32/16890_2.png) [@mirfan](https://forums.percona.com/u/mirfan)\
**Post date:** [April 2, 2016, 8:06am UTC](https://forums.percona.com/t/innobackupex-produces-compressed-archives-cant-apply-logs/4819/2 "2016-04-02T08:06:04Z")

</div>

Can you please show us exact command used for backup and backup directory listing .

---

<div class="post-metadata">

**Author:** ![wagnerbianchi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/wagnerbianchi/32/802_2.png) [@wagnerbianchi](https://forums.percona.com/u/wagnerbianchi)\
**Post date:** [April 4, 2016, 7:15pm UTC](https://forums.percona.com/t/innobackupex-produces-compressed-archives-cant-apply-logs/4819/3 "2016-04-04T19:15:42Z")

</div>

Ethaniel, are you following exactly what is being showed on the following manual’s page?  
[URL=“[Restoring Individual Tables](https://www.percona.com/doc/percona-xtrabackup/2.3/xtrabackup_bin/restoring_individual_tables.html)”][https://www.percona.com/doc/percona-...al\_tables.html](https://www.percona.com/doc/percona-...al_tables.html)

T[/URL]alking about the compressed files, it’s due the use of --compress flag on executing backups as all the tablespaces including the shared one will be compressed with qpress and need to be decompressed before the apply-log phase. If you still have the compressed backup, try the follow to decompress files which extsion if .qp

```auto
for i in $(find -name "*.qp"); do qpress -vd $i $(dirname ${i}) && rm -f $i; done

```

After that you can go ahead and start the apply-log phase. Let us know please if it make sense and helped you, cheers.
