omd backup - add option to exclude monitoring agents (--no-agents)
Within large Checkmk environments and many configurations in the Agent Bakery, it is quite common that the agent directory contains several GB of agent packages, for some of our customers more than 100GB.
It would make sense to extend the omd backup and the option --no-agents, which excludes the directory ~/var/check_mk/agents.
Comments: 2
-
07 Nov, '22
Thierry T.I would love to see even more flags, like:
- --no-crashes (excludes crash reports)
- --no-intentory (excludes HW/SW inventory)
- maybe something like "--config-only", which only backups "the bare minimum" for a site to correctly start, like required configuration files etc. -
12 Nov, '22
Robert SanderIMHO the baked agent packages should never be in the backup as they can be recreated easily.