XC Users Forum
Open conversations with staff and peers about F5 Distributed Cloud Services.
cancel
Showing results for 
Search instead for 
Did you mean: 

XC Backup via API

AlsDevC
Altocumulus
Altocumulus

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.

1 ACCEPTED SOLUTION

Miguel_Alvarado
F5 Employee
F5 Employee

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, 

View solution in original post

3 REPLIES 3

Miguel_Alvarado
F5 Employee
F5 Employee

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, 

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.

Did not know about this script. Nice!