678da1b8edf8b9f999c1c5b432dd807b8e22e4b3
Fleecing can be enabled for backup jobs, but not for a manual backup via 'Backup now', where only a default in the node's vzdump.conf applies. So a VM that needs fleecing to not stall during the backup can not be backed up safely from the UI without changing that default. Add the 'Fleecing' and 'Fleecing Storage' fields of the backup job editor, for VMs only, as fleecing is not used for containers. Like there, the storage is required if fleecing is enabled, so the 'Backup' button stays disabled until one is selected. The fields start with the node's defaults. Only send the fleecing option if it was changed. The API checks for 'Datastore.AllocateSpace' on the fleecing storage of the option, but not on the one of the node's default, so always sending it would make manual backups fail for users without that permission on nodes with fleecing enabled by default. Signed-off-by: Michal Fox <me@dualfroz.com>
Description
My contributions to proxmox-git/pve-manager: 31 commits
206 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
64.8%
Perl
34.9%
Makefile
0.3%