JTok/unraid.vmbackup

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

Opened this issue · 0 comments

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