I have a working script that allows me to backup Proxim 4000M wireless AP's via TFTP when I run it manually. I am now setting up a schedule to run this script weekly. I have set up the schedule but when I start it I immediately get a pop up error that states Line 1: Incorrect syntax near 's'. If I hit OK it goes away and the script runs and completes the config transfers. The job will start and complete whether or not I hit OK. But I would like to see if I can understand and fix whatever it is.
The script looks like this:
upload *
That's it. very simple. This says to the Proxim AP to upload it's config using the settings that are stored in it.
So before I actually set up the schedule I add each device to NCM and then manually run a script to set up TFTP on each device added and upload the config file. This prepares the Proxim for future backups as well as gives me a baseline backup.
That script looks like:
set tftpipaddr <IP ADDRESS OF NCM SERVER>${CR}
set tftpfilename ${SysName}.sys${CR}
set tftpfiletype config${CR}
upload *${CR}
done${CR}
Thanks for any assistance on the Line 1: Incorrect syntax near 's' error.
Shane
Orion Network Configuration Manager
SolarWinds Orion Network Configuration Manager 5.1.1
1999-2009 All Rights Reserved
Orion Network Configuration Manager v5.1.1 DL1000
Copyright
1999-2009 SolarWinds, Inc. All rights reserved
Version 8.3.125
Microsoft SQL Server 2000 - 8.00.2039 (Intel X86)
May 3 2005 23:18:38
Copyright (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
ProductName Microsoft SQL Server
ProductVersion 8.00.2039