Forum Discussion

Wes_98712's avatar
Wes_98712
Icon for Nimbostratus rankNimbostratus
Feb 09, 2007

iControl for Backup/Restore

Without using the enterprise management appliance does the iControl API support remote backup requests of an F5 ucs?

 

 

I created a couple of scripts that basically backs up the current configs of all my appliances every night, and then SCP's them to a local directory storage spot on a server or whatever. They work great (written in perl) and have saved me quite a few times. But wondering now that the iControl API is open, if there are any constructs that support backing up the configs instead of dealing with SCP and all that.

 

 

Thoughts?

 

 

-Wes

1 Reply

  • You can absolutely use iControl to configure archiving of configurations. Here's what you should do.

     

     

    1. Use System::ConfigSync::save_configuration() to create the ucs file.

     

    2. Use System::ConfigSync::download_configuration() to download the created ucs file to disk.

     

     

    In fact, the SDK has a sample perl script that does all of this for you. Check out the sdk_root/sdk/samples/soap/perl/soaplite/System/ConfigSync.pl sample and you should be all set!

     

     

    In fact, this app also covers uploading and installing ucs files that you've previously backed up...

     

     

    Good luck and let us know if anything else comes up...

     

     

    -Joe