Hallo,
ich bin gerade dabei ein script zu schreiben welches mir VMware herunterfährt, dann ein Backup macht und dann VMware wieder startet. Doch leider hab ich nicht soviel talent
Soweit bin ich schon:
vmware-cmd "c:\Virtual Machines\Scamon\Windows Server 2003 Standard Edition.vmx" stop trysoft
:warten
if exist "C:\Virtual Machines\SCAMON\Windows Server 2003 Standard Edition.vmdk.lck goto warten
call C:\Windows\Scripts\Backup.cmd
und in der Backup cmd:
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\rex\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Ntbackup_scavirtual_c_System.bks" /n "scavirtual_C_System.bkf created 18.07.2006 at 11:12" /d "Set created 18.07.2006 at 11:12" /v:no /r:no /rs:no /hc
ff /m normal /j "Ntbackup_scavirtual_c_System" /l:s /f "\\Scanas\Systembackups\scavirtual\scavirtual_C_System.bkf"
das ganze lasse ich dann als scheduled task laufen.
please help!
ich bin gerade dabei ein script zu schreiben welches mir VMware herunterfährt, dann ein Backup macht und dann VMware wieder startet. Doch leider hab ich nicht soviel talent

Soweit bin ich schon:
vmware-cmd "c:\Virtual Machines\Scamon\Windows Server 2003 Standard Edition.vmx" stop trysoft
:warten
if exist "C:\Virtual Machines\SCAMON\Windows Server 2003 Standard Edition.vmdk.lck goto warten
call C:\Windows\Scripts\Backup.cmd
und in der Backup cmd:
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\rex\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Ntbackup_scavirtual_c_System.bks" /n "scavirtual_C_System.bkf created 18.07.2006 at 11:12" /d "Set created 18.07.2006 at 11:12" /v:no /r:no /rs:no /hc

das ganze lasse ich dann als scheduled task laufen.
please help!