From: Christian Ebner <c.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-manager 2/2] lxc: options: add PBS change detecion mode selector
Date: Wed, 15 Nov 2023 16:59:11 +0100 [thread overview]
Message-ID: <20231115155911.285968-3-c.ebner@proxmox.com> (raw)
In-Reply-To: <20231115155911.285968-1-c.ebner@proxmox.com>
Add selector to switch between default and metadata based change
detection mode for backups using PBS as backend.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
www/manager6/lxc/Options.js | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js
index d0a53fc7..61b38d6a 100644
--- a/www/manager6/lxc/Options.js
+++ b/www/manager6/lxc/Options.js
@@ -141,6 +141,25 @@ Ext.define('PVE.lxc.Options', {
hookscript: {
header: gettext('Hookscript'),
},
+ pbs_change_detection_mode: {
+ header: gettext('PBS change detection mode'),
+ defaultValue: 'data',
+ editor: caps.vms['VM.Config.Options'] ? {
+ xtype: 'proxmoxWindowEdit',
+ subject: gettext('PBS change detection mode'),
+ items: {
+ xtype: 'proxmoxKVComboBox',
+ name: 'pbs_change_detection_mode',
+ deleteEmpty: true,
+ value: '__default__',
+ comboItems: [
+ ['__default__', "Default"],
+ ['metadata', "Metadata"],
+ ],
+ fieldLabel: gettext('Mode'),
+ },
+ } : undefined,
+ },
};
var baseurl = 'nodes/' + nodename + '/lxc/' + vmid + '/config';
--
2.39.2
prev parent reply other threads:[~2023-11-15 15:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 15:59 [pve-devel] [PATCH pve-container pve-manager 0/2] add config option for metadata based PBS backup Christian Ebner
2023-11-15 15:59 ` [pve-devel] [PATCH pve-container 1/2] config: backup: add PBS change detection mode Christian Ebner
2023-11-15 15:59 ` Christian Ebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231115155911.285968-3-c.ebner@proxmox.com \
--to=c.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox