[pve-devel] [RFC v2 manager 0/5] add backup detail and summary view
Aaron Lauterer
a.lauterer at proxmox.com
Mon Apr 6 16:24:21 CEST 2020
This is a follow up to [0] which introduced a detail view for backup
jobs to show which volumes of a guests would be included.
Additionally it adds a second window to the backup panel which shows a
list of all guests and if they are included by any backup job or not.
This makes it easy to find guests which are not yet backed up at all and
fixes #2609.
I had to create a new API endpoint for that because cluster/backup
expects a job ID on the next level, making it hard to impossible to add
other endpoints there. Feedback regarding the naming is welcome as I
always have a hard time finding a good one.
This series relies on [1], which is why this is marked as RFC as the one
method call needed from that series will definitely change.
[0] https://pve.proxmox.com/pipermail/pve-devel/2020-January/041268.html
[1] https://pve.proxmox.com/pipermail/pve-devel/2020-April/042753.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 | 176 +++++++++++
PVE/API2/BackupSummary.pm | 143 +++++++++
PVE/API2/Cluster.pm | 6 +
PVE/API2/Makefile | 1 +
www/manager6/Utils.js | 93 ++++++
www/manager6/dc/Backup.js | 610 ++++++++++++++++++++++++++++++++++----
6 files changed, 970 insertions(+), 59 deletions(-)
create mode 100644 PVE/API2/BackupSummary.pm
--
2.20.1
More information about the pve-devel
mailing list