Hi,
I'd like to share a feature request and discuss it here. If this leads to the opinion that this is a valid feature request, I'll create an enhancement-request in the bug tracker.
Use Case:
I'd like to share a feature request and discuss it here. If this leads to the opinion that this is a valid feature request, I'll create an enhancement-request in the bug tracker.
Use Case:
- I have a Proxmox VE Cluster here (Ceph-Storage)
- The Virtual machines (qemu) are dynamically assigned and sometimes moved around
- The Backup is done via PBS.
- The network for backup is separated from the public network for the service and heavily used for this cluster and other systems in the night time for backup purposes. It's a bottleneck.
- Because of the prior aspect, the backup for each node in the cluster is split into n backup jobs, where n is the number of nodes. The backup jobs are scheduled to run only one at a time.
- There are some virtual machines that should definitely not be backed up by proxmox. So simply selecting "all vms to be backed up" is not an option. I must rather use "include only selected vms" or "all except selected vms"
- Problem 1: If the vms are moved around and are located at different nodes the used Backup-Selection Method (backup all with exclusion) is no longer appropriate. (I can not exclude virtual machine ids which are currently not located on the node)
- Problem 2: There are different administrators and I'd like to have the backup to be always in correct configuration even if one administrator forgets to reconfigure the backup job to include the new VM(s).
- Solution 1: Be able to select all virtual machines existing on the entire cluster even if a specific node is selected and the greater part of virtual machines are not running on that node at the moment. That could be done by a checkbox "show virtual machines of other nodes too". This maybe a selectable option in "advanced" view mode. At backup-job-run-time non-existent VM-IDs will simply be skipped (I think this should already be the case). This option is more simple and easy to use.
- Solution 2: Be able to select virtual machines for inclusion/exclusion based on a Extended Regex. This way a flexible exclusion/inclusion mechanism should satisfy all needs. This option is most flexible and may even consider VMs currently outside completely of the cluster.
- Solution 3: Use Tags (one tag or a combination of more tags) for Backups.
- Solution 4: Use advanced filtering for VM selection (Tag == #tagname AND|OR Regex of vmname is *.ldap.domain.com AND|OR nodename is "node1" ... )
- Edit jobs.cfg manually or by script and put in a line "exclude <#vmid1> ... <#vmidN>" on every needed backup job. (Tested. Works fine.). The backup job can no longer be changed within the web ui if I do that without loosing the vm selection.
Last edited: