This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

External script to backup Cisco WAAS database

This script was originally developed so that the database from the Cisco WAAS could be backed up via an external FTP server.

The process involves running two external scripts from the Device.CLI.Send commands activity;

1) The first script creates the backup file and stores the filename in a scripting dictionary for use later.

2) The second script issues commands to FTP the file to the local machine. (It relies on the host machine running it's own FTP server.)

The two scripts should be copied into the UserScripts folder in the main CatTools folder.

The Cisco WAAS should be added to CatTools as a new device using the Cisco.Switch.IOS script.

A new Device.CLI.Send Commands activity should be created and the following lines added 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")

Note that the items after the <bracketted> items will need to be changed to the correct values for your FTP server.

For more information on running external scripts in CatTools see the link below;

http://www.kiwisyslog.com/help/cattools/act_devclisendcmd_runextscrpt.htm

WAAS_scripts.zip