mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-02 18:19:07 +01:00
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