diff --git a/.last-branch b/.last-branch index 9e27860..b0595f5 100644 --- a/.last-branch +++ b/.last-branch @@ -1 +1 @@ -v20260106-12-disable-ticket-and-remark-edit +v20260106-13-veeam-config-backup-overall-message diff --git a/containers/backupchecks/src/backend/app/parsers/veeam.py b/containers/backupchecks/src/backend/app/parsers/veeam.py index ee628ef..c5a7cee 100644 --- a/containers/backupchecks/src/backend/app/parsers/veeam.py +++ b/containers/backupchecks/src/backend/app/parsers/veeam.py @@ -79,7 +79,9 @@ def _extract_configuration_job_overall_message(html: str) -> Optional[str]: for line in text.split("\n"): # Example: # 26-12-2025 10:00:23 Warning Skipping server certificate backup because encryption is disabled - if re.match(r"^\d{2}-\d{2}-\d{4}\s+\d{2}:\d{2}:\d{2}\s+(Warning|Failed|Error)\b", line): + # 6-1-2026 10:00:16 Warning Skipping credentials backup because encryption is disabled + # Veeam can format dates as either zero-padded (06-01-2026) or non-padded (6-1-2026). + if re.match(r"^\d{1,2}-\d{1,2}-\d{4}\s+\d{2}:\d{2}:\d{2}\s+(Warning|Failed|Error)\b", line): wanted_lines.append(line) if not wanted_lines: diff --git a/docs/changelog.md b/docs/changelog.md index dd4e5f2..76ff766 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -95,6 +95,15 @@ Removed an incorrectly indented redirect statement so the module loads correctly - Removed ticket description display from ticket detail to prevent the field from reappearing. - Kept resolve actions available for tickets and remarks. +--- + +## v20260106-13-veeam-config-backup-overall-message + +- Updated the Veeam Configuration Backup parser to correctly capture and store overall warning messages. +- Added support for date formats without leading zeros (e.g. "6-1-2026") when parsing log lines. +- Ensured multi-line warning messages from configuration backup emails are stored as a single overall message. +- This allows overrides to be applied correctly for configuration backup warnings. + ================================================================================================================================================ ## v0.1.16