[pve-devel] [Patch V2 pve-manager] fix #146 add name to backup log.
Wolfgang Link
w.link at proxmox.com
Wed Jun 15 07:46:27 CEST 2016
---
PVE/VZDump.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 1e00c2d..302da0c 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -853,6 +853,10 @@ sub exec_backup_task {
# lock VM (prevent config changes)
$plugin->lock_vm ($vmid);
+ my $conf = PVE::QemuConfig->load_config($vmid);
+
+ debugmsg ('info', "VM Name: $conf->{name}", $logfd, 1) if defined($conf->{name});
+
$cleanup->{unlock} = 1;
# prepare
--
2.1.4
More information about the pve-devel
mailing list