mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-11 00:35:36 +02:00
Stop backing up kratos since it now lives in /nsm. Ensure kratos is removed when re-installing.
This commit is contained in:
2 files changed
+1
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user