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:

  1. 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)
  2. Save your script, for example: c:\scripts\yourfile.vbs
  3. Create a batch file:
    cscript C:\Scripts\yourfile.vbs \\OtherServer\MySharedFolder
  4. Schedule the batch file:
    image

Comentarios