Problem:
When You run ghettoVCB.sh in dryrun mode on ESXi to backup virtual machines, You get:
ERROR: failed to locate and extract VM_ID for MachineName
Solution:
In my example problem was that MachineName contains brackets, after renaming virtual machine problem was solved
Linux/Unix Tutorials and Configuration.
LinuxConfig.net