Cleanup after index recovery

18 views
Skip to first unread message

Alessio L

unread,
Sep 29, 2023, 10:39:19 AM9/29/23
to Wazuh | Mailing List
Hi all,
for reasons that I'm ashamed for, I had to restore ~1 week of indexes.
I've followed the guide and no major issue emerged.
Now that all my former lost indexes have been digested, can I delete the recovery.json file and remove the /tmp/recovery.json string from manifest.yml?

If I understood how wazuh works, I think I can safely remove everything but a confirmation from a wiser user than me would be appreciated.

Thanks in advance for the time
Alessio

Jorge Eduardo Molas

unread,
Sep 29, 2023, 2:04:04 PM9/29/23
to Wazuh | Mailing List
Hello! I hope you're doing well. Thank you for using Wazuh. Please don't be ashamed of mistakes, they help us grow!
If you have followed the re-injection process correctly as it seems, you already have the data indexed. Likewise, it also has the backups from which the JSON file was generated to be reinjected. You can delete them (since it takes up disk storage space).

Just keep in mind that the indexes that were lost and their information are available again on your dashboard and that you have the corresponding backups.

Have a nice day!
Greetings!

Alessio L

unread,
Sep 30, 2023, 10:35:30 AM9/30/23
to Wazuh | Mailing List
Thank you Jorge.
On Monday I’ll re-check everything just to be sure and proceed to cleanup.

Have a nice weekend


Reply all
Reply to author
Forward
0 new messages