[Solved] HTML table broken for vzdump backup status email reports (PVE 7.2-14)

francoisd

Renowned Member
Sep 10, 2009
49
2
73
Hi,

All the HTML is broken on vzdump backup reports:
All VMs appears under the same vmid. Time, size, and filename columns are missing (only headers).
I did cut the screenshot in 3 to remove all useless parts, but all appear under the single vmid 120.
This seems like a backup log parsing issue. PVE 7.2-14

pve1.png
pve2.png
pve3.png
 
Last edited:
can you post the 'raw' html of that mail?
 
Sure


Code:
... email headers ...

This is a multi-part message in MIME format.

------_=_NextPart_001_16685657933653369
Content-Type: text/plain;
    charset="UTF-8"
Content-Transfer-Encoding: 8bit

  VMID       NAME                 STATUS       TIME       SIZE  FILENAME
  120        dns1                 err      00:25:46     0.00MB  -
  127        swarm1               ok       00:03:07    10.71GB  /mnt/scw/dump/vzdump-qemu-127-2022_11_16-03_25_49.vma.zst
  201        galera1              ok       00:00:57      921MB  /mnt/scw/dump/vzdump-lxc-201-2022_11_16-03_28_56.tar.zst
 
  Detailed backup logs:
 
  vzdump 201 120 127 --storage Scaleway --mode stop --mailto backup@pivert.org --quiet 1 --notes-template '{{guestname}}' --node pve1 --compress zstd --mailnotification failure
 
 
  120: 2022-11-16 03:00:06 INFO: Starting Backup of VM 120 (lxc)
  120: 2022-11-16 03:00:06 INFO: status = running
  120: 2022-11-16 03:00:06 INFO: backup mode: stop
... Removed since this is the text part.
  201: 2022-11-16 03:29:53 INFO: Finished Backup of VM 201 (00:00:57)
 

------_=_NextPart_001_16685657933653369
Content-Type: text/html;
    charset="UTF-8"
Content-Transfer-Encoding: 8bit

<html><body>
<table border=1 cellpadding=3>
<tr><td>VMID<td>NAME<td>STATUS<td>TIME<td>SIZE<td>FILENAME</tr>
<tr><td>120<td>dns1<td><font color=red>FAILED<td>00:25:46<td colspan=2>unable to rename '/mnt/scw/dump/vzdump-lxc-120-2022_11_16-03_00_03.tar.dat' to '/mnt/scw/dump/vzdump-lxc-120-2022_11_16-03_00_03.tar.zst'</tr>
<tr><td>127<td>swarm1<td>OK<td>00:03:07<td align=right>10.71GB<td>/mnt/scw/dump/vzdump-qemu-127-2022_11_16-03_25_49.vma.zst</tr>
<tr><td>201<td>galera1<td>OK<td>00:00:57<td align=right>921MB<td>/mnt/scw/dump/vzdump-lxc-201-2022_11_16-03_28_56.tar.zst</tr>
<tr><td align=left colspan=3>TOTAL<td>00:29:50<td>11.61GB<td></tr>
</table><br><br>
Detailed backup logs:<br /><br />
<pre>
vzdump 201 120 127 --storage Scaleway --mode stop --mailto backup@pivert.org --quiet 1 --notes-template '{{guestname}}' --node pve1 --compress zstd --mailnotification failure


120: 2022-11-16 03:00:06 INFO: Starting Backup of VM 120 (lxc)
120: 2022-11-16 03:00:06 INFO: status = running
...
120: 2022-11-16 03:00:25 INFO: Total bytes written: 1763020800 (1.7GiB, 112MiB/s)
120: 2022-11-16 03:25:39 INFO: restarting vm
120: 2022-11-16 03:25:41 INFO: guest is online again after 1535 seconds
120: 2022-11-16 03:25:49 ERROR: Backup of VM 120 failed - unable to rename '/mnt/scw/dump/vzdump-lxc-120-2022_11_16-03_00_03.tar.dat' to '/mnt/scw/dump/vzdump-lxc-120-2022_11_16-03_00_03.tar.zst'

127: 2022-11-16 03:25:49 INFO: Starting Backup of VM 127 (qemu)
127: 2022-11-16 03:25:49 INFO: status = running
...
127: 2022-11-16 03:28:50 INFO: archive file size: 10.71GB
127: 2022-11-16 03:28:50 INFO: adding notes to backup
127: 2022-11-16 03:28:56 INFO: Finished Backup of VM 127 (00:03:07)

201: 2022-11-16 03:28:56 INFO: Starting Backup of VM 201 (lxc)
...
201: 2022-11-16 03:29:53 INFO: Finished Backup of VM 201 (00:00:57)

</pre>
</body></html>

------_=_NextPart_001_16685657933653369--



html looks correct to me
Might it come from the client ? (Zimbra)
 
Last edited:
Thanks. Same conclusion.

I mark it as solved for now. I'll try to send them to another mail client / or gmail.
 

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!