{% extends "documentation/base.html" %} {% block doc_content %}
Understand how BackupChecks automatically extracts backup information from email reports using parsers.
When emails are imported from your mailbox, BackupChecks automatically parses (analyzes) the email content to extract structured backup information. This eliminates the need to manually read each email and enter data.
Parsing extracts:
The mail parsing process follows these steps:
MailMessage recordA parser is a piece of code that knows how to extract backup information from a specific backup software's email format.
To see all available parsers:
Each parser entry shows:
| Column | Description |
|---|---|
| Name | Unique identifier for the parser (e.g., veeam_backup_job) |
| Backup software | The product this parser handles (e.g., Veeam, NAKIVO) |
| Backup type(s) | Types of jobs this parser supports (e.g., Backup Job, Replication Job) |
| Match criteria | Rules used to identify matching emails (sender, subject, body patterns) |
| Order | Evaluation order (lower numbers are checked first) |
Parsers use match criteria to determine if an email matches their expected format. Common criteria include:
Match based on the sender's email address:
from contains 'veeam.com' matches backups@veeam.comMatch based on the email subject line:
subject contains '[Backup]'subject matches /Backup.*Success/Match based on email body content (not shown in table but used internally):
BackupChecks includes built-in parsers for popular backup solutions:
Additional parsers exist for:
When an email is parsed, BackupChecks evaluates parsers in a specific order based on their Order value. This is important because:
For example:
| Order | Parser | Rationale |
|---|---|---|
| 1 | veeam_replication_job | Specific Veeam job type - check before generic Veeam parser |
| 2 | veeam_backup_job | Generic Veeam parser - fallback for other Veeam emails |
| 10 | synology_active_backup | Unrelated to Veeam - order doesn't matter relative to Veeam |
If parsing fails or produces incorrect results, you can re-parse emails after fixing the issue.
Re-parsing is only available for all inbox emails at once:
Here's how a typical Veeam backup email is parsed:
backups@veeam.com[Veeam] Backup Job 'Daily VM Backup' completed with WarningVeeamBackup JobDaily VM BackupWarning (from subject)If an email shows blank Backup software or Job name:
If parsing produces wrong job names or objects:
If some fields parse correctly but others don't:
Parsers have some inherent limitations: