mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 05:25:49 +00:00
www: advanced backup: add pbs change detection mode selector
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 <c.ebner@proxmox.com>
This commit is contained in:
parent
9039cbf6f3
commit
3b21f19fc1
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user