mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 01:32:00 +01:00
Show 14 days of backup job outcomes beside Backup health The Backups page could not answer "did last night's backups run, and is that normal?". The only history on it was a chart of restore points per day, which counts what exists rather than what failed, and the live /api/backups/pve task list spans just the latest collection window, so it cannot show two weeks either. GET /api/backups/jobs summarizes PVE backup job outcomes for the last 24 hours and each of the last 14 local days with recovery.BuildBackupHealth over retained pve-task history, the authority behind the backup health report. Multi-guest jobs count through attributed guest results, stale running observations are not counted as running, and every day carries its collection state, so days Pulse did not fully observe never read as clean. Unreadable history is "unavailable", never zero failures. A Backup jobs card shows the last 24 hours as outcome pills in its header strip and one stacked bar per day, in the same table-card vocabulary as Backup health, beside it from xl. It is a page-owned section passed into ProxmoxBackupsTable, so the table keeps exactly its PVE and PBS inventory reads, and it renders nothing until backup task history exists.