From f0fe31ec5496fe75fced127a80aa5989a5edbced Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 4 Feb 2016 10:04:58 +0100 Subject: [PATCH] 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 --- modules/bacula/templates/bacula-dir.conf.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1