Forum Discussion
XC Backup via API
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.
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,
- Miguel_AlvaradoEmployee
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,Did not know about this script. Nice!
- AlsDevCAltocumulus
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.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com