CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
Sebastien6_8297
Nimbostratus
Nimbostratus

Problem this snippet solves:

The python script is using the F5 iControlRest API to authenticate with remote authentication (Active directory, RADIUS,...) to obtain a token, create a timestamp UCS backup file, download the file locally and delete it from the F5 appliance.

Provide a way to backup F5 bigIP configuration and arhive the backup files on a remote location.

unfortunately, iControlRest for UCS backup lack documentation. I'm still searching for the option to encrypt the UCS file....

How to use this snippet:

python3 f5-backup.py --hostname

Code :

https://github.com/sebastien6/f5-backup
Comments
Robert_Brink
Nimbostratus
Nimbostratus

Great script! I've been playing around with it trying to get it so you could have the credentials come from current logged in user running the script, bypassing the need to enter credentials so this can be automated. Any ideas?

Sreekaanth
Altostratus
Altostratus

Why dont you use environment variables to store the username and password and with python OS module, I think there is a way you can read them instead of storing it in a file.

Version history
Last update:
‎06-Sep-2018 15:38
Updated by:
Contributors