04-May-2023 12:13
Hi Floks,
I would like to automate the backup (and restore if needed!) of my XC configurations via the API.
What is the best way, can I save all the configurations at once, should I save the namespaces completely, one by one or should I save each object of a namespace (pool, healthcheck, HTTP LB, App FW...)? Or maybe it's doable per service? In short, what is the smartest way to make a complete backup of the confs?
Thanks.
Solved! Go to Solution.
04-May-2023 12:38
Hi @AlsDevC, here is a bash script that uses the XC API to backup the configuration of your tenant, specific namespace, or object.
https://github.com/f5devcentral/f5-professional-services/tree/main/tools/f5-xc-backup
Regards,
04-May-2023 12:38
Hi @AlsDevC, here is a bash script that uses the XC API to backup the configuration of your tenant, specific namespace, or object.
https://github.com/f5devcentral/f5-professional-services/tree/main/tools/f5-xc-backup
Regards,
09-May-2023 00:28
Hi Miguel,
Many thanks. Maybe i'll adapt it to restore automaticaly a piece of configuration (LB or pool for exemple), certainly with ansible. If something works correctly, i'll share it.
BR.
16-May-2023 02:25
Did not know about this script. Nice!