KB Article #171167

Example API Server Backup Scripts

Problem


-- A user would like to use a script to save a FED file of the current active configuration or to back up a particular conf directory from their filesystem.

 

Resolution


* Two example jython scripts have been attached which use the APIs documented in the Developer's Guide.  backUpFromAPIServer.py will download the active configuration from an API Server and store it in a FED file.  backUpConf.py will pack up the contents of a specified "fed" directory.  The example scripts do not take command line arguments, they must be edited to point to the right server or directory.