]> git.proxmox.com Git - pve-manager.git/commit
ui: backup: fill in some of the configured vzdump defaults
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 6 Apr 2021 10:41:51 +0000 (12:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 3 May 2021 12:36:59 +0000 (14:36 +0200)
commitfddb04121735577201ee6d46f660d8a53024a796
tree1ecbdb53252966734fe3c8f4c18367bfa17c132b
parent5b9a4030dd660c37feea81c1072045befe865330
ui: backup: fill in some of the configured vzdump defaults

Do not fill in the default for compression, because the initial default for the
backend is to not compress, while the current default for the UI is zstd, which
is preferable.

The 'defaults' API call expects the user to have permissions on the storage,
because retention options are storage-dependent. Use a flag initialDefaults to
make sure storage-independent properties are only set once, so they are not
reset when a user changes the storage after editing them.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
www/manager6/window/Backup.js