# \--decompress LZ4 comprising file not working

**URL:** <https://forums.percona.com/t/decompress-lz4-comprising-file-not-working/23590>\
**Category:** MySQL & MariaDB\
**Tags:** community, mysql, percona\
**Created:** [July 13, 2023, 9:09am UTC](https://forums.percona.com/t/decompress-lz4-comprising-file-not-working/23590 "2023-07-13T09:09:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chethan4046](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@chethan4046](https://forums.percona.com/u/chethan4046)\
**Post date:** [July 13, 2023, 9:09am UTC](https://forums.percona.com/t/decompress-lz4-comprising-file-not-working/23590/1 "2023-07-13T09:09:58Z")

</div>

Version: xtrabackup version 8.0.30-23 based on MySQL server 8.0.30 Linux (x86\_64) (revision id: 873b467185c)

I have **Full** backup files: compress formate is LZ4.  
Ex:  
xtrabackup\_checkpoints.00000000000000000001  
xtrabackup\_checkpoints.00000000000000000000  
xtrabackup\_info.lz4.00000000000000000000  
xtrabackup\_info.lz4.00000000000000000001  
xtrabackup\_tablespaces.lz4.00000000000000000000  
xtrabackup\_tablespaces.lz4.00000000000000000001

- I am trying to Restore backup files so i running following command  
`xtrabackup --decompress --parallel=16 --target-dir=/home/backup/pxccluster-2023-07-12-02\:00\:01-full --remove-original`  
**Output**  
`[Note] [MY-011825] [Xtrabackup] completed OK!`  
**Error**  
Still LZ4 file not converted in target-dir  
Not sure what is the issue.  
I have installed: LZ4 package using

```auto
$ sudo apt install lz4
version: ***LZ4 command line interface 64-bits v1.9.3, by Yann Collet***

```

---

<div class="post-metadata">

**Author:** ![Mauricio\_Cacho](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mauricio_cacho/32/5859_2.png) [@Mauricio\_Cacho](https://forums.percona.com/u/Mauricio_Cacho)\
**Post date:** [July 13, 2023, 12:55pm UTC](https://forums.percona.com/t/decompress-lz4-comprising-file-not-working/23590/2 "2023-07-13T12:55:26Z")

</div>

Hi @chethan4046

Do you also have the uncompressed files in there?  
I mean, do you have something like this:

```auto
xtrabackup_info
xtrabackup_info.lz4.00000000000000000000
xtrabackup_info.lz4.00000000000000000001

```

Or just the compressed files?

Also, could you please share the command you used to create the backup?

Best,  
Mauricio.

---

<div class="post-metadata">

**Author:** ![chethan4046](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@chethan4046](https://forums.percona.com/u/chethan4046)\
**Post date:** [July 13, 2023, 3:37pm UTC](https://forums.percona.com/t/decompress-lz4-comprising-file-not-working/23590/3 "2023-07-13T15:37:43Z")

</div>

> [@chethan4046](#):
>
> –remove-original

Hello @Mauricio_Cacho  
No: File new file is created or modified  
I see some doc it should create extracted file in pwd: in new folder xtrabackup\_backupfiles  
And i am using pxc

> **[Percona Operator for MySQL based on Percona XtraDB Cluster](https://docs.percona.com/percona-operator-for-mysql/pxc/index.html)**
>
> Kubernetes and the OpenShift platform, based on Kubernetes, have added a way to
> manage containerized systems, including database clusters. This management is
> achieved by controllers, declared in configuration files. These controllers
> provide...

to create Mysql cluster,  
And i have configured s3 based backup method;  
it’s config are  
mysql.cnf: |  
[mysqld]  
secure\_file\_priv=“”  
local-infile=1  
wsrep\_debug=CLIENT  
wsrep\_provider\_options=“gcache.size=1G; gcache.recover=yes”  
max\_connections=2048  
pxc\_strict\_mode=DISABLED  
[sst]  
xbstream-opts=–decompress  
[xtrabackup]  
compress=lz4
