Fix: #2124 add zstd support

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
Alwin Antreich 2020-04-28 15:58:11 +02:00 committed by Fabian Grünbichler
parent 6f69f21de7
commit e8ca21371f

View File

@ -88,7 +88,7 @@ my $confdesc = {
type => 'string', type => 'string',
description => "Compress dump file.", description => "Compress dump file.",
optional => 1, optional => 1,
enum => ['0', '1', 'gzip', 'lzo'], enum => ['0', '1', 'gzip', 'lzo', 'zstd'],
default => '0', default => '0',
}, },
pigz=> { pigz=> {
@ -98,6 +98,13 @@ my $confdesc = {
optional => 1, optional => 1,
default => 0, default => 0,
}, },
zstd => {
type => "integer",
description => "Zstd threads. N=0 uses half of the available cores,".
" N>0 uses N as thread count.",
optional => 1,
default => 1,
},
quiet => { quiet => {
type => 'boolean', type => 'boolean',
description => "Be quiet.", description => "Be quiet.",