#988914 automysqlbackup: COMP=bzip2 and COMPDIRECT=yes results in a gzip-compressed file with a .bz2 suffix #988914
- Package:
- automysqlbackup
- Source:
- automysqlbackup
- Submitter:
- Tim Small
- Date:
- 2021-05-21 11:45:04 UTC
- Severity:
- normal
- Tags:
Combining the COMP=bzip2 and COMPDIRECT=yes arguments results in gzip compressed database dumps being created, but with ".bz2" file suffixes. I've created a patch which fixes this, and also adds support for pigz, zstd, lz4, pxz and other compression utilities. It also uses the `--reflink=auto` option in recent version of the cp program to make reflink copies of files when the `LATEST=yes` option is set. This may also fix #769656 and #783778.