Introduce 'protected' to automatically mark a backup as protected upon completion, and 'notes-template' to generate notes from a template string with certain variables.
Add both to the UI for manual backups and add 'notes-template' to the UI for backup jobs. Changes from v2: * Dropped already applied half of the series. * Switch to {{var}} syntax instead of $VAR. * Add a patch to have doc generation handle the braces. common: Fabian Ebner (1): REST handler: get property description: escape curly braces for asciidoc src/PVE/RESTHandler.pm | 3 +++ 1 file changed, 3 insertions(+) guest-common: Fabian Ebner (1): vzdump: schema: add 'notes-template' and 'protected' properties src/PVE/VZDump/Common.pm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) manager: Fabian Ebner (4): vzdump: support setting protected status partially close #438: vzdump: support setting notes-template ui: backup: allow setting protected and notes-template for manual backup close #438: ui: backup job: allow setting a notes-template for a job PVE/VZDump.pm | 66 ++++++++++++++++++++++++++++++----- www/manager6/dc/Backup.js | 18 ++++++++++ www/manager6/window/Backup.js | 33 +++++++++++++++++- 3 files changed, 107 insertions(+), 10 deletions(-) -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel