[pve-devel] [PATCH qemu-server v2 2/2] Fix #2124: Add support for zstd

Alwin Antreich a.antreich at proxmox.com
Fri Jan 31 17:01:01 CET 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 ff7dcab..8af1cb6 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -7217,7 +7217,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\.(gz|lzo|zst)$/;
 	    push @$res, $item->{volid} if defined($item->{volid});
 	}
     }
-- 
2.20.1





More information about the pve-devel mailing list