[pve-devel] [Patch V2 pve-manager] fix #146 add name to backup log.
Dietmar Maurer
dietmar at proxmox.com
Wed Jun 15 08:32:45 CEST 2016
> 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});
What if $vmid is a LXC container?
More information about the pve-devel
mailing list