From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id D1C381FF39E for ; Mon, 10 Jun 2024 11:57:41 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id ED63B138D8; Mon, 10 Jun 2024 11:58:05 +0200 (CEST) From: Christian Ebner To: pve-devel@lists.proxmox.com Date: Mon, 10 Jun 2024 11:57:45 +0200 Message-Id: <20240610095746.203328-4-c.ebner@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240610095746.203328-1-c.ebner@proxmox.com> References: <20240610095746.203328-1-c.ebner@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.027 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH v4 pve-manager 3/4] www: advanced backup: add pbs change detection mode selector X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" The proxmox backup client allows to switch the method used to encode data based on a change-detection-mode parameter. Expose this setting as experimental feature in the advanced panel for a backup job. Signed-off-by: Christian Ebner --- changes since version 3: - drop default value on set www/manager6/panel/BackupAdvancedOptions.js | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/www/manager6/panel/BackupAdvancedOptions.js b/www/manager6/panel/BackupAdvancedOptions.js index 1026c6f4..7dd19f96 100644 --- a/www/manager6/panel/BackupAdvancedOptions.js +++ b/www/manager6/panel/BackupAdvancedOptions.js @@ -97,6 +97,9 @@ Ext.define('PVE.panel.BackupAdvancedOptions', { } delete values.fleecing; } + if (values["pbs-change-detection-mode"] === '__default__') { + delete values["pbs-change-detection-mode"]; + } return values; }, @@ -236,6 +239,26 @@ Ext.define('PVE.panel.BackupAdvancedOptions', { value: gettext("Run jobs as soon as possible if they couldn't start on schedule, for example, due to the node being offline."), }, }, + { + xtype: 'pveTwoColumnContainer', + startColumn: { + xtype: 'proxmoxKVComboBox', + fieldLabel: gettext('PBS change detection mode'), + name: 'pbs-change-detection-mode', + deleteEmpty: true, + value: '__default__', + comboItems: [ + ['__default__', "Default"], + ['data', "Data"], + ['metadata', "Metadata"], + ], + }, + endFlex: 2, + endColumn: { + xtype: 'displayfield', + value: gettext("EXPERIMENTAL: Mode to detect file changes and archive encoding format for container backups."), + }, + }, { xtype: 'component', padding: '5 1', -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel