Do not backup the other Apache disk cache
authorPaul Wise <pabs@debian.org>
Thu, 10 Aug 2017 13:30:22 +0000 (09:30 -0400)
committerPaul Wise <pabs@debian.org>
Thu, 10 Aug 2017 13:33:16 +0000 (09:33 -0400)
Avoids warnings due to races when it is cleaned/backed up at the same time:

    Could not stat "/srv/apache-cache/mod_cache_disk/r/k/txeIh19LMLMAVeQKsKcg.header": ERR=No such file or directory

modules/bacula/templates/bacula-dir.conf.erb

index 95403c8..5056e19 100644 (file)
@@ -67,6 +67,7 @@ FileSet {
     File = /srv/chroot
     File = /sys
     File = /tmp
+    File = /srv/apache-cache/mod_cache_disk
     File = /var/cache/apache2/mod_cache_disk
     File = /var/cache/apt
     File = /var/lib/apt