I've attached a TCL / Expect script that will SCP the nightly backup off of an Airwave server. To use this script, unzip the file and remove the "-generic" extension. There are in-line commands that should help get it running properly on your Airwave server.I tuned up the script over the past couple of days to include a server name ( for multi-server installations ) and to append a version number, not just a date.
You can also copy or symlink the script to /var/airwave/custom/post_nightly_maintenance and then hardcode the AMP backup file name. That script will run after nightly maintenance (the process that creates the backup) finishes each morning. There's a similar script posted at http://bit.ly/rV0oFq that uses SSH keys instead of a password.
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.