Third Time's the Charm: BIG-IP Backups Simplified with iCall
Backing up the BIG-IP Configuration is something I've written about a couple times (here and here) previously. Well, third time's the charm, thanks to the new iCall feature in the 11.4 release. This ...
Published Jun 26, 2013
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
Valentin_Z__956
Oct 30, 2013Nimbostratus
Hello,
I've successfully managed to create a working script that uses the ftp protocol for the transfer of the file , just modify the following in the original script , follow these steps :
1. replace the lines
SSH settings
exec scp /var/tmp/$fname.tar.gz USERNAME@SERVER:DIRECTORY
2. with these lines
Make sure ftpcommands.txt file doesnt exist to avoid errors
exec rm /var/tmp/ftpcommands.txt -f
Create ftpcommands.txt file
exec echo "open SERVER" >> /var/tmp/ftpcommands.txt
exec echo "user USERNAME PASS" >> /var/tmp/ftpcommands.txt
exec echo "binary" >> /var/tmp/ftpcommands.txt
exec echo "put /var/tmp/cfg-backups/$fname.tar.gz /DIRECTORY/$fname.tar.gz" >> /var/tmp/ftpcommands.txt
exec echo "bye" >> /var/tmp/ftpcommands.txt
Run ftp copy procedure
exec ftp -n < /var/tmp/ftpcommands.txt
good luck !