From 1bd6fe132f646572835af8bfec58458e68fc1ce2 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 4 May 2020 17:29:09 +0200 Subject: [PATCH] vzdump: assemble: fix skipping all pending and snapshot config entries Signed-off-by: Thomas Lamprecht --- PVE/VZDump/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index 46079b88..f122539f 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -210,8 +210,8 @@ sub assemble { } else { $found_snapshot = 1; } - next; # skip all snapshots and pending changes config data } + next if $found_snapshot || $found_pending; # skip all snapshots and pending changes config data if ($line =~ m/^unused\d+:\s*(\S+)\s*/) { $self->loginfo("skip unused drive '$1' (not included into backup)");