* [PATCH 1/2] exclude: Fix bug13736 - stop backup of qos perl programs
@ 2025-03-01 12:46 Adolf Belka
2025-03-01 12:46 ` [PATCH 2/2] exclude: Remove the urlfilter pl programs from a backup Adolf Belka
0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2025-03-01 12:46 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1220 bytes --]
- The exclude file only had the qos.pl file from the bin directory excluded from the
backup. This meant that 5 other perl programs were being backed up and therefore
any restore would overwrite new updated versions such as the makeqosscripts.pl file.
- This addition to the backup exclude file now excludes all .pl files from the qos/bin
directory.
- This also means that any restore from earlier backups that included the other .pl files
will not restore thosde files.
- Tested out on an IPFire physical system.
Fixes: bug13736
Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
config/backup/exclude | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/backup/exclude b/config/backup/exclude
index 4dc1607a2..fb6477d26 100644
--- a/config/backup/exclude
+++ b/config/backup/exclude
@@ -5,7 +5,7 @@ var/ipfire/ethernet/settings
var/ipfire/firewall/bin/*
var/ipfire/ovpn/openssl/*
var/ipfire/proxy/calamaris/bin/*
-var/ipfire/qos/bin/qos.pl
+var/ipfire/qos/bin/*.pl
var/ipfire/suricata/oinkmaster.conf
var/ipfire/suricata/ruleset-sources
var/ipfire/urlfilter/blacklists/*/*.db
--
2.48.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] exclude: Remove the urlfilter pl programs from a backup
2025-03-01 12:46 [PATCH 1/2] exclude: Fix bug13736 - stop backup of qos perl programs Adolf Belka
@ 2025-03-01 12:46 ` Adolf Belka
0 siblings, 0 replies; 2+ messages in thread
From: Adolf Belka @ 2025-03-01 12:46 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]
- When dealing with the qos bug fix for backing up .pl programs I also then searched all
the /var/ipfire directory tree looking for any other .pl files that were being backed
up and found that there were two for the urlfilter.
- This patch adds the .pl files in the urlfilter/bin directory to the exclude list.
- In the same way as for the qos change the exclude addition also means that these files
will not be restorewd from any earlier backup.
- Also tested and confirmed on a physical IPFire system.
Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
config/backup/exclude | 1 +
1 file changed, 1 insertion(+)
diff --git a/config/backup/exclude b/config/backup/exclude
index fb6477d26..a69eed767 100644
--- a/config/backup/exclude
+++ b/config/backup/exclude
@@ -9,3 +9,4 @@ var/ipfire/qos/bin/*.pl
var/ipfire/suricata/oinkmaster.conf
var/ipfire/suricata/ruleset-sources
var/ipfire/urlfilter/blacklists/*/*.db
+var/ipfire/urlfilter/bin/*.pl
--
2.48.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-01 12:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-01 12:46 [PATCH 1/2] exclude: Fix bug13736 - stop backup of qos perl programs Adolf Belka
2025-03-01 12:46 ` [PATCH 2/2] exclude: Remove the urlfilter pl programs from a backup Adolf Belka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox