JTok / unraid.vmbackup

a plugin for backing up VMs in unRAID including vdisks and configuration files.
51 stars 4 forks source link

VM-Name like "element" let the VM-List go crazy #32

Open realizelol opened 2 years ago

realizelol commented 2 years ago

HI JTok,

if you have a VM with element like elementaryOS checked then things go crazy.

cat /boot/config/plugins/vmbackup/vm-list.txt:

elementaryOS
vm2
vm3
vm4
vm5
vm6
vm7

if backup_all_vms="1" and not checked elementaryOS: vms_to_backup="vm3 vm4"

if backup_all_vms="1" and is checked elementaryOS: vms_to_backup="vm3 vm4 vm3 vm4"

if backup_all_vms="0" and not checked elementaryOS: vms_to_backup="vm2 vm5 vm6 vm7"

if backup_all_vms="0" and is checked elementaryOS: vms_to_backup="vm2 vm5 vm6 vm7 vm2 vm5 vm6 vm7"

The only way to backup this is to set backup_all_vms="0" and explicitly just check elementaryOS.


But it looks like if element... just replicate the last value...


Best regards

realizelol