Ok so, when we want to make a backup of Wazuh there are some important things to save:
So, first of all: do not start the manager or agents before the migration is completed. Also, take into account that, if Manager’s IP changes, you will need to change the agent’s configuration too.
You will need to install the manager/agents on the new devices, but do not start them. And then copy the following paths/files from the old to the new devices installation folders:
Take into account that some of these files/paths may not be present whether it is an agent or the manager and that the path is not the same on Linux distributions as in Windows, so pay special attention to the particularities of every case.
After migrating all the files, stop the old manager/agents execution and start the new ones, before doing so remember to set on the agents ossec.conf
file the new manager’s IP.
I would recommend you also reading the following Wazuh Documentation/Blog notes that may help you on this process:
I hope this helps you.
Best regards,
Mariano Koremblum
Hi Rabail,
As you can see, this is related to Elasticsearch. I’ve found that some people that have had the same problem as you, in the following link:
You can have some more info related to the “include_global_state” parameter in the following link:
And about the “enable_snapshot_restore_privilege” (if you are using Search Guard) in here:
And here you can find more documentation related to snapshots and “restore”:
Are you using Search Guard? Because I have found many issues related to this.
Best Regards,
Mariano Koremblum