Thanks, CNK.
Another strategy we have discovered is to shutdown the agent and
backup the /var/ossec/etc and /var/ossec/queue/rids directories in
that order. Then after the OS has been reinstalled on the agent's
host and the agent is reinstalled, restore the etc and rids
directories. Of course this works fine only if the agent's host can
be brought down in a controlled fashion. If, for example, the hard
disk crashed, then the only other alternative is to do what you
suggested.
Cheers!
> > Trevor- Hide quoted text -
>
> - Show quoted text -