Xtrabackup compress using STREAM: ZSTD not found

Hi Team,

I tried to used percona xtrabackup with Streaming to stream backup to S3 using compression. It went well and it used zstd compression while uploading.

But i had issue in uncompressing the same backup after downloading and got following error:

2024-08-26T18:53:30.595380-00:00 0 [Note] [MY-011825] [Xtrabackup] decompressing …
sh: zstd: command not found

Question is: I dont have zstd installed on the host. How did percona xtrabackup use the zstd while uploading during backup.
How to use the same zstd while uncompress of backup. Where is the library located?

Appreciated your inputs.

Thanks

Are you sure it compressed on upload? That would be very strange that it compressed with zstd on upload, but not on download. Check the logs of the upload.

Yes i am sure it did. We dont have zstd installed on the host.

Some logs:

2024-08-26T22:39:32.008257-00:00 2 [Note] [MY-011825] [Xtrabackup] Done: Compressing and streaming ****.ibd

2024-08-26T22:39:32.013186-00:00 2 [Note] [MY-011825] [Xtrabackup] Compressing and streaming ******.ibd

Zstd should be installed to decompress from xtrabackup. Alternatively, xbstream can decompress without installing zstd.