Skip to content

fix recovery.py #8512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.12
Choose a base branch
from
Open

fix recovery.py #8512

wants to merge 1 commit into from

Conversation

youns115
Copy link

In the "Preparing the data restoration" section, we already decompressed the tar.gz backup by running the tar -xzvf wazuh_central_components.tar.gz command, so there's no need to use/import gzip in this situation.

Also, the wazuh_path variable was set to an absolute path, which wouldn't work because we ran cd ~/wazuh_files_backup/<DATE_TIME> before and changed the directory to the one containing the backup.

In the Preparing the data restoration section, we already decompressed the tar.gz backup by running the tar -xzvf wazuh_central_components.tar.gz command, so there's no need to use/import gzip in this situation.

Also, the wazuh_path variable was set to an absolute path, which wouldn't work because we ran cd ~/wazuh_files_backup/<DATE_TIME> before and changed the directory to the one containing the backup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant