Wazuh Automatic Back Up Set up - Cron Job and Possibly Sending to SFTP server

77 views
Skip to first unread message

Daria Leonteva

unread,
Sep 2, 2024, 2:02:00 AM9/2/24
to Wazuh | Mailing List
Good afternoon,

I am trying to understand how to set up Automatic Wazuh back ups. I found this guide that walks through on how to create the back up: https://documentation.wazuh.com/current/migration-guide/files-backup/creating/wazuh-central-components.html

Is there a way to set up a cron job on this back up, so it will run the script automatically once a week or so and saves the back up on the Wazuh server. Also, I am trying to find out after the back up is made, is it possible to send this back up to SFTP server?

Thank you.

Himanshu Sharma

unread,
Sep 2, 2024, 6:08:22 AM9/2/24
to Wazuh | Mailing List
Hi Team,

To create a backup of the central components of your Wazuh installation, You can follow these steps: https://documentation.wazuh.com/current/migration-guide/files-backup/creating/wazuh-central-components.html  Repeat them on every cluster node you want to back up.
For now, there is no official document but If want to set up the automatic Wazuh backup then you can add the steps in the custom script and add that script to the cron job to run.


Yes, it is possible to use an SFTP server to store the compressed backup from Wazuh. It would work in the same way as the Debian NAS location you are using now, so the backup files will need to be moved there manually or using a cronjob.

I hope this info helps you. Please let me know if you have any queries.

Reply all
Reply to author
Forward
0 new messages