From: Peter Müller Date: Sat, 9 Jul 2022 10:21:31 +0000 (+0000) Subject: backup.pl: Include logwatch summary into backups as well X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1a5a49b476bc31b1fc08e331e07bbeaba82943d;p=people%2Fms%2Fipfire-2.x.git backup.pl: Include logwatch summary into backups as well Fixes: 12827 Signed-off-by: Peter Müller Reviewed-by: Adolf Belka --- 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[@]}" }