With this particular script, the Task Scheduler can be configured to run a batch file that
contains the string of commands that it needs, such as the following:
cscript isaexport.wsf /path:C:\Backup /silent
This batch file simply executes the script, telling it to run silently and instructing it to
export the configuration out to the C:\Backup folder. It should reside in the same folder
on the ISA server as the WSF script that was created. The last step to automating this
process would be to configure the Task Scheduler service to run this batch file on a
regular basis.
FIGURE 18.7 Running the custom automated ISA backup script.
482 CHAPTER 18 Backing Up, Restoring, and Recovering an ISA Server 2006 Environment
NOTE
The Task Scheduler service must be running for this procedure to work properly. If the
service is set to Disabled, creation of the task produces errors, and the tasks fail to
run. This is often the case if the Security Configuration Wizard has been run against
the server. To enable this functionality, set the service back to Automatic and start it
on the ISA server.
To use the Task Scheduler to automate the ISA Configuration backups with the batch file
and script, follow this procedure:
1.
Pages:
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751