On 2016-06-29 01:32, Michael Martinez wrote:
Hi,

I'm running Icinga2. I was editing one of my config files
(template/service definitions, etc) and something got messed up and I
blew away the file by accident. And, of course, I don't have a backup
because I'm stupid.

But Icinga is still running with the old, good working copy of the
file. is there a way I can recover the file from my running instance?
Maybe it keeps a cache of the file somewhere on the filesystem? Or is
there a command I can issue to icinga to make it dump it's
configuration?

You should be able to find all current configuration files under /var/lib/icinga2/api/zones/<YOUR_ZONE>/_etc
Your actual paths may vary depending on the distribution you are using.

Regards,
Markus
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to