In command_line(), notes are printed, quoted, but otherwise as is, which is a bit ugly for multi-line notes. But it is part of the commandline.
Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> --- src/PVE/VZDump/Common.pm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm index 83d7413..5bb35ec 100644 --- a/src/PVE/VZDump/Common.pm +++ b/src/PVE/VZDump/Common.pm @@ -233,7 +233,19 @@ my $confdesc = { type => 'string', description => 'Backup all known guest systems included in the specified pool.', optional => 1, - } + }, + notes => { + type => 'string', + description => "Notes to add to the backup(s).", + requires => 'storage', + optional => 1, + }, + protected => { + type => 'boolean', + description => "If true, mark backup(s) as protected.", + requires => 'storage', + optional => 1, + }, }; sub get_confdesc { -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel