databacker / mysql-backup

image to enable automated backups of mysql databases in containers
648 stars 185 forks source link

New compression formats #223

Open diesl opened 1 year ago

diesl commented 1 year ago

Hi @deitch

similar to #220 and #197, I want to propse a new compression format xz. Maybe I will open a PR, but I have a few questions before:

Example:

COMPRESSION=xz COMPRESS_OPTIONS=-z3 -T4 DECOMPRESS_OPTIONS=-d

COMPRESSION=custom COMPRESS_COMMAND=xz -z3 -T4 DECOMPRESS_COMMAND=xz -d

deitch commented 1 year ago

I have no issue with new compression variants and options.

The issue with commands is that I am working to move this out of bash scripting into compiled (go). There have been too many issues with the logic in script, there are capabilities I want to add that are very difficult to do in shell, and I want to start offering this is a standalone binary on all OS/arch, not just a container.