F5 iApp Automated Backup
Problem this snippet solves:
This is now available on GitHub!
Please look on GitHub for the latest version, and submit any bugs or questions as an "Issue" on GitHub:
(Note: DevCentral admin upd...
Updated Feb 15, 2022
Version 2.0Daniel_Tavernie
Cirrostratus
Joined December 19, 2012
Daniel_Tavernie
Jun 15, 2018Cirrostratus
@Silvain Q, If you're referring to the SCP/SFTP option, this could be manually configured relatively easily (it will take me more work to make this customizable through the iApp configuration). In a text editor open the iApp template (
f5.automated_backup.v3.1.4.tmpl.tcl
), find the line that starts with:
exec echo -e "scp_function()
...then find this part of the line:
\n\tscp -i /var/tmp/TMSHAPPNAME_scp.key
...and replace it with:
\n\tscp -P 224 -i /var/tmp/TMSHAPPNAME_scp.key
(NOTE:
-P 224
is the scp
option to modify the destination port.)
I would then recommend changing this line:
sys application template /Common/f5.automated_backup.v3.1.4 {
to
sys application template /Common/f5.automated_backup.v3.1.4_scp224 {
(NOTE: Changing the template name will allow you to have both the original
v3.1.4
and the new v3.1.4_scp224
templates on the BIG-IP at the same time.)
Finally, save the file you've been editing (I recommend selecting a new name to avoid confusion with the original) and upload it to the BIG-IP (you will have to select "overwrite" unless you edited the
sys application template
name above).
Let me know if you're looking for something else.