Lyrical Introduction
I can't believe my eyes. A product as powerful as Veeam Backup & Replication can't do simple things? Or maybe there are problems with my instance specifically? Or am I just a dumb instance?
What I have.
2 companies and 1 Veeam Backup & Replication 12.3.0.4165 server
We run 70 backup jobs for these companies, without any overlapping time.
1. Company 1 – 30 VMware VMs (1 job = 1 VM) – timeframe 1
2. Company 2 – 40 Proxmox VMs (1 job = 1 VM) – timeframe 2
We also run Health Check jobs, timeframes 3 and 4, also without any overlapping time.
What do I need?
At a minimum, I want to
receive two emails, one containing a summary report of all backup jobs for the day, and the other containing a summary report of all health checks.
Maximum
I want to receive 5 emails
1. 1 summary report on completed Company1 backup jobs to 2 email addresses – company1user@domain.net and admin@domain.net
2. 1 summary report on completed Company2 backup jobs to 2 email addresses – company2user@domain.net and admin@domain.net
3. 1 summary report on completed Company1 Health Check jobs to 2 email addresses – company1user@domain.net and admin@domain.net
4. 1 summary report on completed Company2 Health Check jobs to 2 email addresses – company2user@domain.net and admin@domain.net
5. Configuration Backup completion notification to 1 email address – admin@domain.net (no problems with this so far)
What's really happening
I have global SMTP settings. A server with authorization data and a port number. The "From" and "To" fields are filled in, as are the subject parameters. The test email is running perfectly. There are no issues receiving emails. Except for one. I feel like I'm a victim of spammers, but there's only one spammer – VBR. So it turns out I'm torturing myself and my colleagues.
1. For example, like this. I've checked all notification statuses (Success, Warning, Failure). In this case, I receive emails after each task is completed. I've also checked the "daily report" option, and this report arrives exactly at the specified time. But for some reason (?), it only contains health checks; there are no completed backup jobs in this daily report. Why???
2. I've unchecked the "Success" and "Warning" statuses, and in this case, nothing is received at all, since there are currently no tasks with problems; everything is fine. And in this case, I don't see the health check report at all, but I NEED it regardless of the status.
3. I re-selected all statuses in the global settings. Then I went to the settings for each job and created alternative settings. For each job, I specified that notifications should only be sent if there are errors. And if there are successes or warnings, then nothing should be sent. This way, I expect health checks to be sent according to the global settings (any status), and backup job reports only if there are errors. But it doesn't work fine! At first, this works only if recipients in global and in job are identical. In this case job settings are more important. If recipients in global and in job settings are different, the winner is global settings. Second additional trouble… this works only for vmware jobs, cause Proxmox jobs haven’t some custom notify settings, only global.
And again, I'm getting EVERYTHING with a success status... 70+ emails. Aaaaaaaaaa... )))
Can anyone help me? Can someone test this, confirm, or refute?
The temporary solution I implemented for daily reports: in Veeam One, I selected the "Job history" report type, specified all Company1 VMs and a depth of 1 day, set up a daily notification schedule, and then repeated the process for the other company. Unfortunately, the more appropriate Last Job Status report type can't divide the day into hours, and therefore generates a report for all VMs per day. I was also surprised that the monitoring server can't handle hourly grids, only daily or longer ones. This is tolerable, since I managed to get by. But the fact that the monitoring server Veeam One knows nothing about Health Check tasks and, as a result, can't generate a report on them, is depressing. And yet again, it surprises me.
Colleagues, please tell me. Is there something wrong with me? Or with Veeam notification philosophy? Are my minimum and maximum tasks really that non-trivial?
P.S.
Maybe powershell the way to go for solving these tasks?
