[pve-devel] [PATCH qemu-server v3 2/2] Fix #2124: Add support for zstd
Alwin Antreich
a.antreich at proxmox.com
Wed Apr 8 12:25:56 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 e5bf41b..c72ddf4 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -7039,7 +7039,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