Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
code share

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
Comments on this Snippet
Comment made 08-Apr-2016 by driftfast180 0
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?
0
Comment made 11-Jun-2016 by naval khanna 1
I have copied in .tcl in the shared/backup/bin , how to make it executable ?
0
Comment made 02-Aug-2016 by timed_out 0

To make it executable: chmod +x f5backup.sh

0
Comment made 02-Aug-2016 by timed_out 0

Worked for me, thank you!

0
Comment made 19-Aug-2016 by Patrik Jonsson 3524

Good stuff Jason!

0
Comment made 19-Aug-2016 by Julio Flores 53

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!!

0
Comment made 13-Sep-2016 by Joad 3

It also works with version 12.1 ?

Thank you

0
Comment made 30-Jan-2017 by bowlingbe 52

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

0
Comment made 31-Jan-2017 by bowlingbe 52

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

0
Comment made 02-Feb-2017 by bhaskar babar 2

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"

0
Comment made 22-Feb-2017 by volodh 112

Execute chmod 755 f5backup.sh in tmsh.

0
Comment made 18-Jun-2017 by draco 367

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 ?

0
Comment made 2 months ago by swjtufei 2

It also works with version 11.5.4 and 11.6.3 ?

Thank you

0