wazuh-packages icon indicating copy to clipboard operation
wazuh-packages copied to clipboard

Installation assisant should backup logs before rollback

Open davidcr01 opened this issue 11 months ago • 0 comments

Description

Adding rollbacks in https://github.com/wazuh/wazuh-packages/issues/2785, the team thought that it would be interesting that the Installation Assistant collected the logs of the components that are going to be uninstalled and save them in a folder.

This backup of the logs could be useful in case of performing a rollback in case of error. By consulting the backup logs, more information can be considered by guessing the error cause.

Tasks

  • [ ] Decide the path of the log and the name of the log file.
  • [ ] Develop the logic.
  • [ ] Test that the log of the components that were removed is collected in the log file.

davidcr01 avatar Mar 13 '24 18:03 davidcr01