pve-manager/www/manager6/form/CompressionSelector.js
Alwin Antreich 3e2c5105f8 Fix #2124: Add support for zstd
This patch adds the zstd to the compression selection for backup on the
GUI and add .zst to the backup file filter. Including zstd as package
install dependency.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-05-04 10:41:59 +02:00

11 lines
385 B
JavaScript

Ext.define('PVE.form.CompressionSelector', {
extend: 'Proxmox.form.KVComboBox',
alias: ['widget.pveCompressionSelector'],
comboItems: [
['0', Proxmox.Utils.noneText],
['lzo', 'LZO (' + gettext('fast') + ')'],
['gzip', 'GZIP (' + gettext('good') + ')'],
['zstd', 'ZSTD (' + gettext('better') + ')'],
]
});