]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
exclude: Add the suricata sgh cache directory to the list
authorAdolf Belka <adolf.belka@ipfire.org>
Fri, 12 Dec 2025 16:38:11 +0000 (17:38 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Dec 2025 16:10:54 +0000 (16:10 +0000)
- 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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/exclude

index a69eed767373f4a06aec35b5a9e12eb29c13d416..0719b471f38d706c1b68041095ce4fc738ef34f5 100644 (file)
@@ -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/*