|
|
@ -112,8 +112,7 @@ sub action |
|
|
|
|
|
|
|
|
|
|
|
# If Backup is disable |
|
|
|
# If Backup is disable |
|
|
|
if ( $Conf{BackupsDisable} == 1 ) { |
|
|
|
if ( $Conf{BackupsDisable} == 1 ) { |
|
|
|
if ( $Status{$host}{state} ne "Status_backup_in_progress" |
|
|
|
if ( $Status{$host}{state} ne "Status_backup_in_progress" && $Status{$host}{state} ne "Status_restore_in_progress" ) { |
|
|
|
&& $Status{$host}{state} ne "Status_restore_in_progress" ) { |
|
|
|
|
|
|
|
$reasonHilite = $Conf{CgiStatusHilightColor}{Disabled_OnlyManualBackups}; |
|
|
|
$reasonHilite = $Conf{CgiStatusHilightColor}{Disabled_OnlyManualBackups}; |
|
|
|
$tempState = "Disabled_OnlyManualBackups"; |
|
|
|
$tempState = "Disabled_OnlyManualBackups"; |
|
|
|
$tempReason = ""; |
|
|
|
$tempReason = ""; |
|
|
|