]> git.proxmox.com Git - qemu-server.git/commitdiff
Fix #2124: Add support for zstd
authorAlwin Antreich <a.antreich@proxmox.com>
Tue, 28 Apr 2020 13:58:14 +0000 (15:58 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 4 May 2020 09:19:35 +0000 (11:19 +0200)
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
PVE/QemuServer.pm

index 047a1dcfed5769c2531974fc0e7fc40748204e7b..5940cf06fe524060633ef00f129ded379de0765f 100644 (file)
@@ -7176,7 +7176,7 @@ sub complete_backup_archives {
     my $res = [];
     foreach my $id (keys %$data) {
        foreach my $item (@{$data->{$id}}) {
-           next if $item->{format} !~ m/^vma\.(gz|lzo)$/;
+           next if $item->{format} !~ m/^vma\.(${\PVE::Storage::Plugin::COMPRESSOR_RE})$/;
            push @$res, $item->{volid} if defined($item->{volid});
        }
     }