Possible issue in getting all the right VMID's

7 Aufrufe
Direkt zur ersten ungelesenen Nachricht

luxitux

ungelesen,
18.03.2010, 06:54:0018.03.10
an 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

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten