PBS backup email notification incomplete

keson

Active Member
Dec 16, 2017
21
2
43
50
Dear community,
not that this is a problem that would affect the Proxmox environment reliability, but more an observation I made in past few weeks/months.
Running Proxmox 8.2.7 and PBS 3.2.7 with several backup jobs running daily to backup all VMs and CTs to external storage, email notifications set as default(auto), sent always.
There is a set off 9 VMs/CTs across 2 Nodes and the backup runs as expected.

The only weird thing is the notification email content. Although the Backup job backs up ALL expected 9 VMs/CTs, the notification email contains only 7 VMs/CTs from one node.

So the log email looks pretty much like this:

Details​

VMIDNameStatusTimeSizeFilename
111dc02.xxxok3min 31s32.001 GiBvm/111/2024-10-30T21:35:03Z
112dc03.xxxok3min 26s32.001 GiBvm/112/2024-10-30T21:38:34Z
210ts02.xxxok29min 42s256.001 GiBvm/210/2024-10-30T21:42:00Z
500rport.xxxok35s32.001 GiBvm/500/2024-10-30T22:11:42Z
501docker.xxxok11s32.001 GiBvm/501/2024-10-30T22:12:17Z
2810ms.nxxxok20s4.006 GiBct/2810/2024-10-30T22:12:28Z
2850unifi.xxxok27s3.516 GiBct/2850/2024-10-30T22:12:48Z
Total running time: 38min 12s
Total size: 391.525 GiB

Logs​

vzdump 210 2850 111 112 500 501 700 110 2810 --fleecing 0 --storage NAS_NFS_PBS_Backup --quiet 1 --mode snapshot --mailnotification always --notes-template '{{node}}, {{vmid}}, {{guestname}}' --mailto admin@mymail.com

As you can see the vzdump covers all 9 targets, but the summary details table shows only 7 of them, the ID 110 and 700 are left out - they both sit on pve01, while the other 7 sit on pve02.

Also the details log in the email body only covers the 7 targets from the pve02.

Anyone have seen similar behavior?

As I said, the backups are done, nothing is left out, only the notification is incomplete :)
 
Hi,
each node will send its own notification. Please check the logs and configuration of the other node.

vzdump 210 2850 111 112 500 501 700 110 2810 --fleecing 0 --storage NAS_NFS_PBS_Backup --quiet 1 --mode snapshot --mailnotification always --notes-template '{{node}}, {{vmid}}, {{guestname}}' --mailto admin@mymail.com

As you can see the vzdump covers all 9 targets, but the summary details table shows only 7 of them, the ID 110 and 700 are left out - they both sit on pve01, while the other 7 sit on pve02.
If you read the log you should see that 700 and 110 are skipped as external. There is a second vzdump invocation on the other node.
 
Hi,
each node will send its own notification. Please check the logs and configuration of the other node.


If you read the log you should see that 700 and 110 are skipped as external. There is a second vzdump invocation on the other node.
You are absolutely right! I did not look at it from this angle :( - my bad - I did not expect the log file ON THE SERVER has some extra lines compared to a logic set by email - namely the following:

Code:
INFO: starting new backup job: vzdump 210 2850 111 112 500 501 700 110 2810 --fleecing 0 --storage NAS_NFS_PBS_Backup --quiet 1 --mode snapshot --mailnotification always --notes-template '{{node}}, {{vmid}}, {{guestname}}' --mailto admin@myemail.com
INFO: skip external VMs: 110, 700

So I have to investigate, why the second server sends emails OK and why the emails from the first server are lost.

All clear, hopefully toning both emails will arrive :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!