Possible issue in getting all the right VMID's

8 views
Skip to first unread message

luxitux

unread,
Mar 18, 2010, 6:54:00 AM3/18/10
to vmsbackup
Hi there,

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

Reply all
Reply to author
Forward
0 new messages