}
my $storecfg = cfs_read_file('storage.cfg');
+
# destroy existing data - keep empty config
- destroy_vm($storecfg, $vmid, 1);
+ my $vmcfgfn = PVE::QemuServer::config_file($vmid);
+ destroy_vm($storecfg, $vmid, 1) if -f $vmcfgfn;
my $tocmd = "/usr/lib/qemu-server/qmextract";
+qemu-server (2.3-8) unstable; urgency=low
+
+ * fix tar restore: correctly check if VM config already exists
+
+ -- Proxmox Support Team <support@proxmox.com> Mon, 28 Jan 2013 09:53:12 +0100
+
qemu-server (2.3-7) unstable; urgency=low
* allow to suspend/resume VM during backup