Automated or Schedule a Backup for ISA Server 2006
To save your backup of ISA Server 2006 in other server you need a VBS script, a batch file and schedule a job, use the following steps:
- Open Notepad and paste:
Dim fileName
Dim WSHNetwork
Dim shareName: shareName = WScript.Arguments(0)
Dim xmldom : set xmldom = CreateObject("Msxml2.DOMDocument")
Dim fpc : set fpc = WScript.CreateObject("Fpc.Root")
Dim array : set array = fpc.GetContainingArray
set WSHNetwork = CreateObject("WScript.Network")
fileName=shareName & "\" & WSHNetwork.ComputerName & "-" & Year(Now) & "-" & _
Month(Now) & "-" & Day(Now) & ".xml"
array.Export xmldom, 0
xmldom.save(fileName) - Save your script, for example: c:\scripts\yourfile.vbs
- Create a batch file:
cscript C:\Scripts\yourfile.vbs \\OtherServer\MySharedFolder - Schedule the batch file:
Comentarios