[Feature] Proxmox Backup Server Reporting
Simple exportable (PDF) reports from PBS to be able to 'report' on backup jobs for Auditing purposes (ISO, CMMC Etc)
Hey, thanks for the suggestion! We actually just shipped PDF export support in v0.9.6 (using jsPDF) — currently available for cluster reports, CVE scans, and syslog events.
Extending that to PBS backup data sounds doable, but I want to make sure we build the right thing. Could you give a bit more detail on what the report should contain? For example:
- Backup job success/failure history over a time range?
- Per-VM backup status (last backup date, size, duration)?
- Datastore usage and GC stats?
- Something like a "monthly backup compliance summary" for auditors?
Knowing which compliance framework you're targeting (ISO 27001, CMMC, SOC2 etc.) would help too so we can include the right fields.
Regards, Marcus
Not the OP but these would be useful in our case:
Backup job success/failure history over a time range?
- Veeam one will do a report that shows the backups for the last x number of attempts.
Per-VM backup status (last backup date, size, duration)?
Per VM
- Convert the machine number to whatever the virtual machine name is.
- Last backup date and status (Success, warning, failure).
- Size
- Duration
- Location
Datastore usage and GC stats?
- Data store usage can be viewed using the system status.
Hey, thanks for the suggestion! We actually just shipped PDF export support in v0.9.6 (using jsPDF) — currently available for cluster reports, CVE scans, and syslog events.
Extending that to PBS backup data sounds doable, but I want to make sure we build the right thing. Could you give a bit more detail on what the report should contain? For example:
- Backup job success/failure history over a time range?
- Per-VM backup status (last backup date, size, duration)?
- Datastore usage and GC stats?
- Something like a "monthly backup compliance summary" for auditors?
Knowing which compliance framework you're targeting (ISO 27001, CMMC, SOC2 etc.) would help too so we can include the right fields.
Regards, Marcus
Marcus,
Frameworks for my request specifically are all 3 of the mentioned.
The prior comment hits it however here is my 'list' - but something is better than nothing
Workload Protection History: Unlike a "Job History," this would report on the individual VM success/failure rate over time.
Protected VMs (or "Unprotected VMs") Report: A definitive list of every VM in the cluster, clearly highlighting which ones are not backed up. A "gap analysis" is a common audit requirement.
Latest Job Status (Executive Summary): A high-level pie chart/summary of the last 24h, 7 days, and 30 days of success vs. failure.
Backup Compliance Reporting: Groups workloads by location and ensures they meet defined RPO (Recovery Point Objective) targets.
Infrastructure Assessment Report: Analyzes if the backup infrastructure is configured according to best practices (essential for the "Control Design" portion of SOC2).
Immutable Workload Report: Explicitly lists which backups are locked/immutable. This is a critical requirement for CMMC and ransomware protection audits.
Change Tracking and Auditing: A log of which users modified backup jobs, changed retention policies, or deleted backups (key for SOC2 change management controls).
Backup Inventory Report: A master list of all backup files, their sizes, their locations (Primary vs. Remote), and their retention ages.
Restore Operator Activity: Tracks every time data was restored and by whom (vital for verifying that data access is monitored).
Data Integrity Report. A summary showing when each backup chunk was last verified for bit-rot or corruption. This is a huge requirement for SOC2 (Data Integrity controls)
@Bradley-Radomski — appreciate the detail, the Veeam-style "last N attempts per job" rollup is a clear framing. That lines up with what PBS already gives us via tasks logs (filter type backup, group by job ID, render a rollup + per-VM status).
Not going to commit to a concrete slot right now — we'll look into it properly when we pick up the next planning round. If anything's off about the framing (e.g. "per-VM" means something different in your setup) — shout now while it's easy to note.
No- I think that should work - I'm primarily trying to solve the 'Can you prove that "criticalserver-001" was backed up on this day/time, and where is it backed up to? ' We could easily respond with, we have the backups 'here' and we have these restore points and its taking up X amnt of storage (i have come to find that screenshots and command outputs are frowned upon at my org, they want actual reports -_-) does that make sense?
@Bradley-Radomski — going through the old backlog and this one landed. Sorry it took us a moment to circle back.
PBS reports are exposed as three endpoints with PDF export attached:
GET /api/pbs/<pbs_id>/reports/summary?days=N— executive rollup (jobs run / success / warning / failed across the window)GET /api/pbs/<pbs_id>/reports/inventory?days=N— per-VM last-backup date + size + duration, with the "where is it backed up to" pointerGET /api/pbs/<pbs_id>/reports/protected-vms?cluster_id=X&days=N— gap-finder, lists VMs in the cluster without a recent successful backup
Source is pegaprox/api/pbs.py:1559+ (code-comment cites this ticket). The Reports tab on the PBS view bundles all three into a jsPDF export named pegaprox-pbs-<name>-<tab>-<date>.pdf — that's the artefact you'd hand to an ISO / CMMC auditor to answer the "prove criticalserver-001 was backed up on this day, where is it" question.
Closing as completed. If you hit a real audit and the layout falls short of what your assessor wants, open a fresh ticket with the specific gap and we'll tune it.
Tip jar at opencollective.com/pegaprox keeps the audit-report work funded.
— MK