CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
JRahm
Community Manager
Community Manager

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
Comments
driftfast180_21
Nimbostratus
Nimbostratus
We have successfully deployed this option and wanted to say thanks for making it very easy. Does this particular iApp template overwrite old archives or should storage monitoring become a concern?
naval_khanna_25
Nimbostratus
Nimbostratus
I have copied in .tcl in the shared/backup/bin , how to make it executable ?
timed_out_92260
Nimbostratus
Nimbostratus

To make it executable: chmod +x f5backup.sh

 

timed_out_92260
Nimbostratus
Nimbostratus

Worked for me, thank you!

 

Good stuff Jason!

 

Julio_Flores_15
Nimbostratus
Nimbostratus

Thank you, Works perfect for me on standalone big ip, i need to use it on F5 DSC(have 4 big ip in a clúster) doesnt work!!! can you help me!!

 

Joad
Nimbostratus
Nimbostratus

It also works with version 12.1 ?

 

Thank you

 

bowlingbe
Nimbostratus
Nimbostratus

Absolutely amazing! Thanks so much. This has been needed for a while.

 

bowlingbe
Nimbostratus
Nimbostratus

When this job runs does it set the private keys to "include"?

 

bhaskar_babar_1
Nimbostratus
Nimbostratus

Have copied in given fileon location /shared/backups/bin

 

and tried to execute with command chmod +x f5backup.sh in tmsh

 

but error is given as Syntax Error: unexpected argument "chmod"

 

volodh_214395
Nimbostratus
Nimbostratus

Execute chmod 755 f5backup.sh in tmsh.

 

draco
Nimbostratus
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
Nimbostratus

It also works with version 11.5.4 and 11.6.3 ?

 

Thank you

 

Version history
Last update:
‎11-Mar-2015 14:29
Updated by:
Contributors