Package: metche Version: 1:1.2.2-5 Followup-For: Bug #365695 Hi,
I was experimenting the same kind of behavior with metche, so I looked for a similar report. In my case I get automatic report every 5 minutes. They are related to "/etc/cups/subscriptions.conf" and "/etc/cups/subscriptions.conf.0" files being updated continuously. I added a pattern in the "metche.conf" file to exclude these, however it's not enough. Indeed, since the file is moved onto "*.conf.0", the directory itself gets updated. I didn't want to skip the entire "/etc/cups" directory because to me the other configuration files deserve to be backed-up. Eventually, I came to this solution: I added "! -type d" at the end of the "FIND_OPTS" variable in "/usr/sbin/metche". It seems to me a valid option, but it needs to be complemented: - what we really interested in are the configuration files - if a configuration file changes, it will be listed among the changes, so the backup will take place - if an excluded file changes, it will not be listed and the backup will not take place - if a new file is added, it will be seen as newer than reference backup, and the backup will take place - if an excluded file is added or overwritten, it will not be listed, neither will the directory, the backup will not take place - if a file is deleted: we won't see it and the new configuration state will not be saved :/ - if an excluded file is deleted, we won't see it and the backup will not take place, which is ok So, we have a problem with deleted files (e.g. virtual hosts configurations might be added/deleted). Without performing a full tar comparison as imagined, metche could list all tracked files and compare it with the list of files in the last backup (tar tfj). I think this would give good results without being tough on performance for update check occuring every 5 minutes. Regards, Christophe -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (985, 'testing'), (120, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages metche depends on: ii bsd-mailx [mailx] 8.1.2-0.20150408cvs-1 ii bzip2 1.0.6-8 ii debconf [debconf-2.0] 1.5.58 ii mutt 1.5.24-1 ii postfix [mail-transport-agent] 2.11.3-1+b1 ii ucf 3.0031 Versions of packages metche recommends: ii apt-show-versions 0.22.7 ii gnupg 1.4.19-6 Versions of packages metche suggests: pn util-vserver <none> -- debconf information excluded