Try different FileSet config
authorPeter Palfrader <peter@palfrader.org>
Thu, 4 Feb 2016 09:16:58 +0000 (10:16 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 4 Feb 2016 09:16:58 +0000 (10:16 +0100)
modules/bacula/templates/bacula-dir.conf.erb

index 88411e7..007e916 100644 (file)
@@ -39,13 +39,17 @@ Director {
 ########################################################################
 FileSet {
   Name = "Standard Set"
+  Ignore FileSet Changes = yes
   Include {
     Options {
       signature = SHA1
       compression = GZIP9
       aclsupport = yes
       xattrsupport = yes
-      Ignore FileSet Changes = yes
+    }
+    Options {
+      wild = "/swapfile*"
+      exclude = yes
     }
     File = "\\|/usr/local/sbin/bacula-backup-dirs"
     # Dont backup directories that contain .nobackup files
@@ -56,7 +60,6 @@ FileSet {
     File = /var/lib/bacula
     File = /var/cache/apt/
     File = /nonexistant
-    wild = "/swapfile*"
     File = /proc
     File = /tmp
     File = /.journal