Skip to content

Compression and fixes

Compare
Choose a tag to compare
@maxhq maxhq released this 08 Sep 23:21
· 75 commits to master since this release

The script can now optionally compress the output file using xz or leave it uncompressed.

Direct script download

zabbix-mysql-dump (v0.8.2)

New options

-x
    Compress using xz instead of gz
    PLEASE NOTE:
    xz compression will take much longer and consume more CPU time
    but the resulting backup will be about half the size of the same
    sql file compressed using gz. Your mileage may vary.

-0
    Do not compress the sql dump

Changelog

  • New option -x (#7 by @neonardo1)
  • New option -0
  • Error warning: here-document at line 206 delimited by end-of-file (wanted 'EOF') due to an evil space was removed (#8 by @msjmeyer)
  • Warning: Using a password on the command line interface can be insecure. is now suppressed

Thanks!

  • @msjmeyer
  • @neonardo1