From 83ec8f816a451dbe4e7a3639f2b45a77095bb913 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 22 Nov 2016 14:45:02 +0100 Subject: [PATCH] VZDump: switch ha managed check from enabled to started Signed-off-by: Thomas Lamprecht --- PVE/VZDump.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index cf480adf..0bd942bc 100644 --- a/PVE/VZDump.pm +++ b/PVE/VZDump.pm @@ -770,9 +770,9 @@ sub exec_backup_task { die "unable to find VM '$vmid'\n" if !$plugin; # for now we deny backups of a running ha managed service in *stop* mode - # as it interferes with the HA stack (enabled services should not stop). + # as it interferes with the HA stack (started services should not stop). if ($opts->{mode} eq 'stop' && - PVE::HA::Config::vm_is_ha_managed($vmid, 'enabled')) + PVE::HA::Config::vm_is_ha_managed($vmid, 'started')) { die "Cannot execute a backup with stop mode on a HA managed and". " enabled Service. Use snapshot mode or disable the Service.\n";