From c1a5a49b476bc31b1fc08e331e07bbeaba82943d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Sat, 9 Jul 2022 10:21:31 +0000 Subject: [PATCH] backup.pl: Include logwatch summary into backups as well MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 12827 Signed-off-by: Peter Müller Reviewed-by: Adolf Belka --- config/backup/backup.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/backup/backup.pl b/config/backup/backup.pl index 7094ed6108..7624373216 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2014 IPFire Team # +# Copyright (C) 2007-2022 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -191,7 +191,7 @@ restore_backup() { } find_logfiles() { - local filelist=( /var/log/messages* /var/log/*.log /var/log/**/*.log ) + local filelist=( /var/log/logwatch/* /var/log/messages* /var/log/*.log /var/log/**/*.log ) echo "${filelist[@]}" } -- 2.39.5