Monitoring, Management & Location Tracking

Automate Transferring Nightly Backups to a TFTP Server

Aruba Employee
Aruba Employee


Make a copy of the post_nightly_maintenance.sample file and open it for editting:
# cp /var/airwave/custom/post_nightly_maintenance.sample /var/airwave/custom/post_nightly_maintenance
# vim /var/airwave/custom/post_nightly_maintenance

Paste this to the end of the file:
tftp $TFTPSERVER -v -m binary -c put /var/airwave-backup/nightly_data001.tar.gz $TFTPSERVER:nightly_data_`date +%m_%d_%y`.tar.gz

Change the IP address variable, TFTPSERVER from to your TFTP server's IP address.

To test the script, you can run it immediately instead of waiting for nightly maintenance to call it by doing:
# /var/airwave/custom/post_nightly_maintenance

After the script finishes, please make sure your TFTP server received the file successfully and it is not corrupt. The script will transfer every nightly backup with the date in the file name. It does not overwrite existing nightly backups.

Version history
Revision #:
1 of 1
Last update:
‎06-26-2014 04:16 PM
Labels (1)
Search Airheads
Showing results for 
Search instead for 
Did you mean: