Forum Discussion

Sokol_69126's avatar
Sokol_69126
Icon for Nimbostratus rankNimbostratus
Aug 18, 2016
Solved

Scheduling backups - more than just ucs

Is there a way to schedule a backup that includes things like ucs, ifiles, user files, certs, etc and sends them to a remote server? Everything i would need for a complete rebuild. If it requires a script, how would i create it, where would i store it, how do I schedule it? Thanks!

 

  • If you dont want to play with scripts, there is a easier way.

     

    Just change the db key values and instruct BIG-IP to include your custom files into the UCS archive.

     

    Below are the instructions-

     

    SOL4422

     

6 Replies

  • Nath's avatar
    Nath
    Icon for Cirrostratus rankCirrostratus

    You need to learn shell scripting and crontab. You can find many articles here in DC regarding on your concern :)

     

  • If you dont want to play with scripts, there is a easier way.

     

    Just change the db key values and instruct BIG-IP to include your custom files into the UCS archive.

     

    Below are the instructions-

     

    SOL4422

     

  • If you dont want to play with scripts, there is a easier way.

     

    Just change the db key values and instruct BIG-IP to include your custom files into the UCS archive.

     

    Below are the instructions-

     

    SOL4422

     

  • The very first post from the link above worked like a charm for us. Please find someone who can show you how to do shell scripting and Crontab if you don't know how to do it.

     

    [root@xxxxx:/S1-green-P:Active:In Sync] config ls aaa bigpipe net-snmp big3d customization ntp.conf BigDB.dat daemon.conf partitions bigip dashboard partitions.bak bigip_base_bkup eav profile_base.conf bigip_base.conf eventd.xml rndc.key bigip_base.conf.bak f5-rest-device-id snmp bigip.conf failover ssh bigip.conf.bak filestore ssl bigip.license ge1.cap startup bigip.license.chs102093s ge.cap statsd.conf bigip.license.chs102104s gtm tmp bigip.license.old httpd user_alert.conf bigip_script.conf lcd vartempdatapower.cap bigip_script.conf.bak lost+found vartmpdatapower1.cap bigip_user.conf low_profile_base.conf vartmpdatapower.cap bigip_user.conf.bak monitors wa [root@xxxxx:/S1-green-P:Active:In Sync] config nano cron-backup [root@xxxxx:/S1-green-P:Active:In Sync] config nano startup [root@xxxxx:/S1-green-P:Active:In Sync] config chmod +x /config/cron-backup [root@xxxxx:/S1-green-P:Active:In Sync] config ln -s /config/cron-backup /etc/cron.daily/cron-backup [root@xxxxx:/S1-green-P:Active:In Sync] config ls aaa bigip_script.conf filestore profile_base.conf big3d bigip_script.conf.bak ge1.cap rndc.key BigDB.dat bigip_user.conf ge.cap snmp bigip bigip_user.conf.bak gtm ssh bigip_base_bkup bigpipe httpd ssl bigip_base.conf cron-backup lcd startup bigip_base.conf.bak customization lost+found statsd.conf bigip.conf daemon.conf low_profile_base.conf tmp bigip.conf.bak dashboard monitors user_alert.conf bigip.license eav net-snmp vartempdatapower.cap bigip.license.chs102093s eventd.xml ntp.conf vartmpdatapower1.cap bigip.license.chs102104s f5-rest-device-id partitions vartmpdatapower.cap bigip.license.old failover partitions.bak wa

     

    [root@xxxxx:/S1-green-P:Active:In Sync] config ./cron-backup Saving active configuration... /var/local/ucs/backup_xxxxx_20160429.ucs is saved. /usr/bin/find: missing argument to `-exec'

     

    These are the steps that I followed but I am really not good at explaining them as my colleague helped me execute it. I hope this will give you some idea at least :)