See this DC post. https://community.f5.com/t5/technical-forum/how-to-automate-backup-ucs-file/td-p/48943
Only missing part is the FTP upload.
Use icall not crontab as during an upgrade/update of tmos the crontab is not copied to the new bootpartition.
Hi @msaud ,
beside @KeesvandenBos , Check this Article from linked-in , it looks good :
I haven't tested it yet.
Be aware that you need to put the scripts in the /shared/scripts folder (else they will be lost during an update/upgrade).
Same for the crontab, you have to recreate it afer an upgrade/update. That is why F5 invented iCall. Witch script and handler everything is within TMOS and will survive an update/upgrade.