Files
Pulse/internal/mock
rcourtman 03bb7be30e Read a PBS snapshot as one guest on every backup surface
When two Proxmox installations reuse VMIDs and guest names, three places
each decided which guest owned a PBS snapshot, and they disagreed. The
recovery mapper let a learned owner token break a tie between labels,
which guest badges have refused since #2292, and it learned from one PBS
instance at a time. The Backups table had a stricter rule of its own, so
a snapshot the badge gave to a guest sat on an unmatched row while that
guest's own row read Protected with no backup.

models.AttributePBSBackups is now the one rule. SyncGuestBackupTimes and
recovery ingestion read it, and /api/backups/pbs reports it as
guestInstance so the table does no attribution. When the evidence does
not settle a snapshot it stays unattributed on all three: recovery
history no longer relinks a point left unsettled between live guests, and
rows carried over a failed read no longer teach source inference.

An unmatched row used to say it matched no monitored guest even when it
matched two. It now names the guests sharing its VMID, and they point
back to it.

Refs #2681
2026-11-04 16:28:48 +00:00
..
2026-10-11 22:20:25 +01:00
2026-10-11 22:20:25 +01:00
2026-06-03 12:29:37 +01:00