|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am running the following script nightly to back up 2 virtual
servers. I am running windows 2003 sp2 64 bit and virtual server 2005 r2. Over the weekend I received an eventid 129 every 30 seconds after the script started. Any suggestions on what the problem might be? Thanks, Set objShell = CreateObject ("WScript.Shell") 'Load current date (formatted as mm-dd-yyyy) 'into variable strToday strTime = weekdayname(weekday(now)) ' Backup target folder or UNC path strBackupDir = "g:\Backup\VS\" & strTime & "\" 'Drive containing Virtual Machines strVMdrive = "f:" 'VM folder path strVMfolder = "vm" 'available drive letter used to mount shadow copy strTempDrive = "X:" 'Prepare shadow copy commands sExCmd = "CreateVSS.cmd" Set oFileSys = CreateObject("Scripting.FileSystemObject") if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd) set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite) 'create backup folder Set objFSO = CreateObject("Scripting.FileSystemObject") If Not objFSO.FolderExists(strBackupDir) Then Set objFolder = objFSO.CreateFolder(strBackupDir) end if ' Create Shadow copy of VM drive oExCmd.WriteLine "vshadow.exe -script=setvar1.cmd -p " &_ strVMdrive oExCmd.WriteLine "call setvar1.cmd" oExCmd.WriteLine "vshadow.exe -el=%SHADOW_ID_1%," &_ strTempDrive oExCmd.Close Result = objShell.run(sExCmd,vbMinimized, TRUE) 'Copy the virtual machine files from the shadow copy strSource = strTempDrive & "\" & strVMfolder objFSO.CopyFolder strSource , strBackupDir, TRUE ' Delete created shadow copy instance if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd) set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite) oExCmd.WriteLine "Echo y | vshadow.exe -da" oExCmd.Close Result = objShell.run(sExCmd,vbMinimized, TRUE) 'Backup complete! 'wscript.echo("Backup complete!") Event Event Type: Warning Event Source: vhdstor Event Category: None Event ID: 129 Date: 3/14/2008 Time: 10:02:45 PM User: N/A Computer: VS1 Description: The description for Event ID ( 129 ) in Source ( vhdstor ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see and Support for details. The following information is part of the event: \Device\VhdRaidPort17. Data: 0000: 0f 00 10 00 01 00 68 00 ......h. 0008: 00 00 00 00 81 00 04 80 ......€ 0010: 04 00 00 00 00 00 00 00 ........ 0018: 00 00 00 00 00 00 00 00 ........ 0020: 00 00 00 00 00 00 00 00 ........ 0028: 00 00 00 00 00 00 00 00 ........ 0030: 00 00 00 00 81 00 04 80 ......€ |
|
![]() |
| Outils de la discussion | |
|
|