In CatTools, you can create a process to enable the backup of the database from a Cisco Wide Area Application Service (WAAS). The general procedure used may be modified for other devices which also create a local backup file which then needs to be transferred to the host machine.
The process involves running two external scripts from the
Device.CLI.Send commands activity:
- The first script creates the backup file and stores the file name in a scripting dictionary for use later.
- The second script issues commands to use file transfer protocol (FTP) to transfer the file to the local machine. It relies on the host machine running its own FTP server.
These two scripts can be found at https://thwack.solarwinds.com/servlet/JiveServlet/downloadBody/71484-102-1-1127/WAAS_scripts.zip. The files should be copied into the UserScripts folder in the main CatTools folder.
You may need to create the /UserScripts folder in the
\Program Files (x86)\CatTools3 folder.
- Add Cisco WAAS to CatTools as a new device using the
- Create a new
- Add the following lines to the list of commands on the Options panel:
%ctRunExternalScript("C:\Program Files\CatTools3\UserScripts\WAASDumpName.txt","cms database backup")
%ctRunExternalScript("C:\Program Files\CatTools3\UserScripts\FTPCopyWAASDump.txt","<ftpHostname> 192.168.1.10 <ftpUsername> admin_backup <ftpPassword> mypassword <ftpFileDirectory> backup.dump")
Some items, such as the user name and password, need to be changed to the correct values for your FTP server. The scripts themselves are well commented and form the basis for further user customization scripts.