if you use the possibility to create notes to the VmContainer on
summary tab, and you write some numbers eg. 13.01.2010 inside these
notes, then the method to get all the VMID's identify the "13" as an
valid VMID.
In consequence of this behavior the backup routine copies the whole
volume..that could be a serious problem ;-)
so i use the following line:
for VMID in `$VMCMD -U $USER -P $PASS vmsvc/getallvms |grep -o
'^[0-9]*'.*\[.*\].*\.vmx[:space:]* | grep -o '^[0-9]*'`;
instead of the:
for VMID in `$VMCMD -U $USER -P $PASS vmsvc/getallvms |grep -o
'^[0-9]*';
regards,
luxitux