diff --git a/salt/common/tools/sbin/so-config-backup b/salt/common/tools/sbin/so-config-backup index fee7c4ffe..5c684e4e6 100755 --- a/salt/common/tools/sbin/so-config-backup +++ b/salt/common/tools/sbin/so-config-backup @@ -35,7 +35,6 @@ if [ ! -f $BACKUPFILE ]; then {%- endfor %} tar -rf $BACKUPFILE /etc/pki tar -rf $BACKUPFILE /etc/salt - tar -rf $BACKUPFILE /opt/so/conf/kratos fi diff --git a/setup/so-functions b/setup/so-functions index ef2690d72..19cfc241e 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -2181,6 +2181,7 @@ reinstall_init() { # Backup directories in /nsm to prevent app errors backup_dir /nsm/mysql "$date_string" backup_dir /nsm/wazuh "$date_string" + backup_dir /nsm/kratos "$date_string" # Remove the old launcher package in case the config changes remove_package launcher-final