From: Peter Palfrader Date: Thu, 4 Feb 2016 09:04:58 +0000 (+0100) Subject: bacula: try ignoring /swapfile* instead of just /swapfile. Also set Ignore FileSet... X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f0fe31ec5496fe75fced127a80aa5989a5edbced;p=mirror%2Fdsa-puppet.git bacula: try ignoring /swapfile* instead of just /swapfile. Also set Ignore FileSet Changes to avoid a full backup run everywhere. And set Accurate = yes and enable acl and xattr support --- diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index d12aafbc9..88411e7ab 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -43,6 +43,9 @@ FileSet { Options { signature = SHA1 compression = GZIP9 + aclsupport = yes + xattrsupport = yes + Ignore FileSet Changes = yes } File = "\\|/usr/local/sbin/bacula-backup-dirs" # Dont backup directories that contain .nobackup files @@ -53,7 +56,7 @@ FileSet { File = /var/lib/bacula File = /var/cache/apt/ File = /nonexistant - File = /swapfile + wild = "/swapfile*" File = /proc File = /tmp File = /.journal @@ -158,6 +161,7 @@ JobDefs { Type = Backup Level = Incremental FileSet = "Standard Set" + Accurate = yes Schedule = "WeeklyCycle" Messages = Standard Max Full Interval = 40 days