]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
backup-exclude: Add suricata ruleset-sources to backup exclude file
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 13 Jan 2025 12:24:42 +0000 (13:24 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 24 Jan 2025 13:13:28 +0000 (14:13 +0100)
- This will ensure that an old version will no longer be restored back onto a users
   system.
- The suricata ruleset-sources file should also be shipped in the CU that this will be
   applied to make sure that all usders have the correct version installed, in case they
   have done a restore from an old backup after doing a fresh install.
- Tested on my vm testbed system and after making the change, the ruleset-sources file
   is no longer added to the backup set but also it is excluded from the restore if it
   is included in an old backup.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/backup/exclude

index 0131a87fd485c911a265a85137d7480fd1b10435..4dc1607a2f43a9ed5c6cffb3ea904f745ac1b9ce 100644 (file)
@@ -7,4 +7,5 @@ var/ipfire/ovpn/openssl/*
 var/ipfire/proxy/calamaris/bin/*
 var/ipfire/qos/bin/qos.pl
 var/ipfire/suricata/oinkmaster.conf
+var/ipfire/suricata/ruleset-sources
 var/ipfire/urlfilter/blacklists/*/*.db