[MDEV-33224] Mariadb-backup needs support for compression algorithm Zstandard (ZSTD) and lz4 Created: 2024-01-11  Updated: 2024-01-11

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Pandikrishnan Gurusamy Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The current Mariadb-backup --compress option as deprecated for quite a while now as the underlying quickpress library and qpress tool have been unmaintained for over a decade by now. We have to start supporting the other compression algorithms Zstandard (ZSTD) and lz4 like Percona XtraBackup 8.0.34-29

https://docs.percona.com/percona-xtrabackup/8.0/create-compressed-backup.html#version-updates
This will be helpful for the users and community.



 Comments   
Comment by Vladislav Vaintroub [ 2024-01-11 ]

mariadb-backup supports any compression,algorithm via pipe aka xbstream (also encryption, and combination of those) https://mariadb.com/kb/en/using-encryption-and-compression-tools-with-mariabackup/

compressing individual files was a bad idea from the very start. I do not think we have to repeat Percona's mistakes (their builtin encryption resulted into several CVE btw), and have everything builtin. Rather, build tools that can work well with other tools, Unix philosophy.

Comment by Vladislav Vaintroub [ 2024-01-11 ]

I just "added support" to documentation https://mariadb.com/kb/en/using-encryption-and-compression-tools-with-mariabackup/#compressing-with-zstd

Generated at Thu Feb 08 10:37:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.