[pve-devel] [PATCH v3 manager 0/5] add backup detail and summary view

Aaron Lauterer a.lauterer at proxmox.com
Thu May 7 13:57:24 CEST 2020


This series adds a new detail view for backup jobs to show which volumes
of a guest would be included.

Additionally it adds a second view to the backup panel which shows a
list of all guests and if they are included in any backup. This makes it
easy to find guests which are not yet backed up at all and fixes @2609

For the latter, I had to create new API endpoint because the already
existing `cluster/backup/` expects a job ID on the next level which
makes it hard to impossible to add other endpoints there. More details
are in the actual patch.

This series needs [0] and [1] applied beforehand to work correctly.

Changes are mostly incorporating feedback and making the code nicer.

[0] https://pve.proxmox.com/pipermail/pve-devel/2020-May/043340.html
[1] https://pve.proxmox.com/pipermail/pve-devel/2020-May/043399.html

Aaron Lauterer (5):
  api: backup: add endpoint to list included guests and volumes
  gui: dc/backup: move renderers to Utils.js
  gui: dc/backup: add new backup job detail view
  fix #2609 api: backupsummary: add non job specific endpoint
  fix #2609 gui: backup: add summary window

 PVE/API2/Backup.pm        | 182 ++++++++++++
 PVE/API2/BackupSummary.pm | 168 +++++++++++
 PVE/API2/Cluster.pm       |   6 +
 PVE/API2/Makefile         |   1 +
 www/manager6/Utils.js     |  93 ++++++
 www/manager6/dc/Backup.js | 611 ++++++++++++++++++++++++++++++++++----
 6 files changed, 1002 insertions(+), 59 deletions(-)
 create mode 100644 PVE/API2/BackupSummary.pm

-- 
2.20.1





More information about the pve-devel mailing list