Configuration Backup Scheduler

Problem this snippet solves:

Contributed by: citizen_elah

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 /var/local, create backups directories
  • Drop the f5backup.sh script (attached below along with the iApp) in the /var/local/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

Daily Configuration

image

Heading

image

Monthly Configuration

image

Example Configuration & Output

image

And the output of the command line:

image

Published Mar 11, 2015
Version 1.0

Was this article helpful?

1 Comment

  • Error parsing template:can't eval proc: "script::run" field not present: "hostname" while executing "tmsh::get_field_value [lindex [tmsh::get_config sys global-settings] 0] hostname" (procedure "script::run" line 2) invoked from within "script::run" line:1