Configuration Backup Scheduler - v11.5.1
Problem this snippet solves:
Introduction
This iApp allows users to schedule backups in the GUI. The iApp will update a file in /etc/cron.d/ with the appropriate cron parameters depending on user needs. It does require a little work on the system:
- In /shared/, create /shared/backups, /shared/backups/bin and /shared/backups/archives directories
- Drop the f5backup.sh script (attached below along with the iApp) in the /shared/backups/bin directory you just created and make it executable. The script has been modified for tmsh, but is originally posted here in the Advanced Design and Configuration Wiki
Code :
45233
Published Mar 11, 2015
Version 1.0JRahm
Admin
Christ Follower, Husband, Father, Technologist. I love community and I especially love THIS community. My background is networking, but I've dabbled in all the F5 iStuff, I'm a recovering Perl guy, and am very much a python enthusiast. Learning alongside all of you in this accelerating industry toward modern apps and architectures.JRahm
Admin
Christ Follower, Husband, Father, Technologist. I love community and I especially love THIS community. My background is networking, but I've dabbled in all the F5 iStuff, I'm a recovering Perl guy, and am very much a python enthusiast. Learning alongside all of you in this accelerating industry toward modern apps and architectures.13 Comments
- volodh_214395
Nimbostratus
Execute chmod 755 f5backup.sh in tmsh.
- draco
Nimbostratus
how do i sent the backup file to remote system using this script ? can i mention the location here :-
SCP_DESTINATION="f5archive@192.0.2.10:" ?? what do i do about the authentication for the remote system ?
- swjtufei_368019
Nimbostratus
It also works with version 11.5.4 and 11.6.3 ?
Thank you