From: Alexander Barton Date: Thu, 1 Feb 2018 08:49:20 +0000 (+0100) Subject: backup-audit: Add system "service" directories X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=0d32f728b4b1d8f944d2a8bcb9f883882111d36d;hp=9b6f31a99aaf628ed846594d48ce6761e98b57fc;p=backup-script.git backup-audit: Add system "service" directories --- diff --git a/bin/backup-audit b/bin/backup-audit index 651d0e3..0264ece 100755 --- a/bin/backup-audit +++ b/bin/backup-audit @@ -1,7 +1,7 @@ #!/bin/bash # # backup-script system for cloning systems using rsync -# Copyright (c)2008-2016 Alexander Barton, alex@barton.de +# Copyright (c)2008-2018 Alexander Barton, alex@barton.de # # 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 @@ -194,6 +194,7 @@ DiffGenerations() { /etc/aliases \ /etc/bash.bashrc \ /etc/crontab \ + /etc/debian_version \ /etc/environment \ /etc/fstab \ /etc/hostname \ @@ -236,7 +237,11 @@ DiffGenerations() { /etc/cron.hourly/ \ /etc/cron.monthly/ \ /etc/cron.weekly/ \ + /etc/init.d/ \ /etc/sudoers.d/ \ + /etc/systemd/network/ \ + /etc/systemd/system/ \ + /etc/systemd/user/ \ /var/log/dumps/ \ ; do [[ ! -d "${gen1_d}${dir}" ]] && continue