mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Stop backing up kratos since it now lives in /nsm. Ensure kratos is removed when re-installing.
This commit is contained in:
@@ -35,7 +35,6 @@ if [ ! -f $BACKUPFILE ]; then
|
|||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
tar -rf $BACKUPFILE /etc/pki
|
tar -rf $BACKUPFILE /etc/pki
|
||||||
tar -rf $BACKUPFILE /etc/salt
|
tar -rf $BACKUPFILE /etc/salt
|
||||||
tar -rf $BACKUPFILE /opt/so/conf/kratos
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -2181,6 +2181,7 @@ reinstall_init() {
|
|||||||
# Backup directories in /nsm to prevent app errors
|
# Backup directories in /nsm to prevent app errors
|
||||||
backup_dir /nsm/mysql "$date_string"
|
backup_dir /nsm/mysql "$date_string"
|
||||||
backup_dir /nsm/wazuh "$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 the old launcher package in case the config changes
|
||||||
remove_package launcher-final
|
remove_package launcher-final
|
||||||
|
|||||||
Reference in New Issue
Block a user