I have Apache2 web access logs that are created in /var/log/apache2/ that I want to preserve forever so that a web statistics analyser can process them and show me how page hits are changing over a period of months. I use Time Machine as a backup, and hoped that it would backup these log files too, but have now discovered that they are not included (tmutil confirms that the individual files are excluded). There are thousands of log files (one per day, for each of 10 virtual hosts) and at least 10 are generated each new day, so manually including a rule for each is not possible. Is there a way to tell Time Machine to include the whole of /var/log/apache2 and its sub-directories (the TM Preference Pane makes it easy to exclude folders, but I don't see a way of telling it to include folders)?
I'm running Mac OS X 10.10 on a recent Mac Mini and using the MacPorts version of Apache, but I doubt that my question is specific to this hardware/software.