Director import from existing Icinga2/Director

Hi,

I have to install a new Icinga2/Icingaweb2/Director Master and like to import all hosts/templates/jobs at least everthing from an existin Icinga2/Director master. Is this possinle trough a Director Kickstart configuration or a import source Rest-API/CoreAPI? Or is the correct way to dump and import the whole director database?

Best regards,
Hartmut

Hi Hartmut,

welcome to the community!

Take a look at the configuration baskets: https://icinga.com/docs/director/latest/doc/30-Configuration-Baskets/

This should be exactly what you’re looking for. :slight_smile:

Best regards,
Marcel

1 Like

Hi,

I didn’t find the way how to export/import Hosts with baskets? It’s possible to download the hosts to json file, but how to import it on the new master?

Best regards,
Hartmut