[pve-devel] [PATCH qemu-server v4 2/2] Fix #2124: Add support for zstd
    Alwin Antreich 
    a.antreich at proxmox.com
       
    Wed Apr 22 16:57:57 CEST 2020
    
    
  
Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 265d4f8..fda1acb 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -7165,7 +7165,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});
 	}
     }
-- 
2.20.1
    
    
More information about the pve-devel
mailing list