I know you can manually export your zabbix templates to xml
through configuration -> templates -> [check those you want] -> [scroll down] -> export
However i would like to know if this could be automated i would be handy to do this for backup purposes.
I was thinking about finding the url that invokes this download which rightfully didn't work. The second option is to recreate the xml file through the zabbix API which will be a bit of a hassle. The third option is backing up the database but i don't know what mysql tables are used to generate the templates.php file
through configuration -> templates -> [check those you want] -> [scroll down] -> export
However i would like to know if this could be automated i would be handy to do this for backup purposes.
I was thinking about finding the url that invokes this download which rightfully didn't work. The second option is to recreate the xml file through the zabbix API which will be a bit of a hassle. The third option is backing up the database but i don't know what mysql tables are used to generate the templates.php file