exclude: Add the suricata sgh cache directory to the list

Message ID 20251212163811.3547417-1-adolf.belka@ipfire.org
State Accepted
Commit 92fa47e749e1eaf9955b5e48971e047e889c0fda
Headers
Series exclude: Add the suricata sgh cache directory to the list |

Commit Message

Adolf Belka 12 Dec 2025, 4:38 p.m. UTC
- Depending on the number of suricata rulesets that users have got enabled the suricata
   cache in /var/cache/suricata/sgh/ gets currently backed up in the ipfire .ipf file
   and some users are ending up with backup files that used to be 190MB and are now
   greater than 700MB, some even over 800MB.
- This change excludes the cache from the backup as it seems that a restore with a cache
   from an earlier time does not make sense.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/backup/exclude | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/config/backup/exclude b/config/backup/exclude
index a69eed767..0719b471f 100644
--- a/config/backup/exclude
+++ b/config/backup/exclude
@@ -1,6 +1,7 @@ 
 etc/sysconfig/lm_sensors
 etc/unbound/unbound.conf
 *.tmp
+var/cache/suricata/sgh/*
 var/ipfire/ethernet/settings
 var/ipfire/firewall/bin/*
 var/ipfire/ovpn/openssl/*