PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.virtualserver > vss back up
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
vss back up

Réponse
 
LinkBack Outils de la discussion
Vieux 17/03/2008, 16h42   #1
philip@shadetreesolutions.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut vss back up

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 ......€
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h11.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09206 seconds with 9 queries