]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
backup.pl: Include logwatch summary into backups as well
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 9 Jul 2022 10:21:31 +0000 (10:21 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 9 Jul 2022 15:04:26 +0000 (15:04 +0000)
Fixes: 12827
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
config/backup/backup.pl

index 7094ed6108e419fc69b26021f868d129cd7f5feb..7624373216173374f55ac80307c68087c80472f8 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2014  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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[@]}"
 }