From 0d32f728b4b1d8f944d2a8bcb9f883882111d36d Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Thu, 1 Feb 2018 09:49:20 +0100 Subject: [PATCH 1/1] backup-audit: Add system "service" directories --- bin/backup-audit | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.2