From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH 1/2] backup.pl: Include logwatch summary into backups as well Date: Sat, 09 Jul 2022 10:21:31 +0000 Message-ID: <232fb7fd-84cd-62c4-ffa0-261b3fa26f50@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2437624293817847548==" List-Id: --===============2437624293817847548== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fixes: 12827 Signed-off-by: Peter M=C3=BCller --- 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 7094ed610..762437321 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() { } =20 find_logfiles() { - local filelist=3D( /var/log/messages* /var/log/*.log /var/log/**/*.log ) + local filelist=3D( /var/log/logwatch/* /var/log/messages* /var/log/*.log /v= ar/log/**/*.log ) =20 echo "${filelist[@]}" } --=20 2.35.3 --===============2437624293817847548==--