mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-25 03:08:50 +00:00
disable vzdump for VM containing snapshots
This commit is contained in:
parent
8c55950564
commit
585b6e2839
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.2
|
||||
|
||||
VERSION=2.0
|
||||
PACKAGE=qemu-server
|
||||
PKGREL=58
|
||||
PKGREL=59
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
||||
@ -2922,7 +2922,8 @@ sub vm_start {
|
||||
|
||||
PVE::Storage::activate_volumes($storecfg, $vollist);
|
||||
|
||||
eval { run_command($cmd, timeout => $statefile ? undef : 30); };
|
||||
eval { run_command($cmd, timeout => $statefile ? undef : 30,
|
||||
umask => 0077); };
|
||||
my $err = $@;
|
||||
die "start failed: $err" if $err;
|
||||
|
||||
|
||||
@ -46,6 +46,10 @@ sub prepare {
|
||||
|
||||
my $conf = $self->{vmlist}->{$vmid} = PVE::QemuServer::load_config($vmid);
|
||||
|
||||
if (scalar(keys %{$conf->{snapshots}})) {
|
||||
die "VM contains snapshots - unable to backup\n";
|
||||
}
|
||||
|
||||
$task->{hostname} = $conf->{name};
|
||||
|
||||
my $lvmmap = PVE::VZDump::get_lvm_mapping();
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
qemu-server (2.0-59) unstable; urgency=low
|
||||
|
||||
* disable vzdump for VM containing snapshots
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Thu, 27 Sep 2012 09:41:19 +0200
|
||||
|
||||
qemu-server (2.0-58) unstable; urgency=low
|
||||
|
||||
* fix bug 251: use new command line syntax
|
||||
|
||||
Loading…
Reference in New Issue
Block a user