X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbacula-dir.conf.erb;h=c9644cebf8d4408e6b88e5027a2fde0f252d7bfa;hb=2b213a07466209440b7d628a63a28ab489728889;hp=d12aafbc9c1a147b67eecdeaae1090500271faee;hpb=032729c62e06ba91465cdb0025ca20310653b126;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index d12aafbc9..c9644cebf 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -39,34 +39,38 @@ Director { ######################################################################## FileSet { Name = "Standard Set" + Ignore FileSet Changes = yes Include { Options { signature = SHA1 compression = GZIP9 + aclsupport = yes + xattrsupport = yes + } + Options { + wild = "/swapfile*" + File = /.fsck + File = /.journal + File = /dev + File = /lib/init/rw + File = /nonexistant + File = /proc + File = /srv/chroot + File = /sys + File = /tmp + File = /var/cache/apt + File = /var/lib/apt + File = /var/lib/bacula + File = /var/lock + File = /var/log/samhaim + File = /var/run + File = "\\|bash -c 'grep -s -v ^# /etc/bacula/local-exclude || true'" + exclude = yes } File = "\\|/usr/local/sbin/bacula-backup-dirs" # Dont backup directories that contain .nobackup files Exclude Dir Containing = .nobackup } - - Exclude { - File = /var/lib/bacula - File = /var/cache/apt/ - File = /nonexistant - File = /swapfile - File = /proc - File = /tmp - File = /.journal - File = /.fsck - File = /sys - File = /lib/init/rw - File = /var/run - File = /var/lock - File = /dev - File = /srv/chroot - File = /home/buildd/build-trees - File = "\\|bash -c 'grep -s -v ^# /etc/bacula/local-exclude || true'" - } } ######################################################################## @@ -158,6 +162,7 @@ JobDefs { Type = Backup Level = Incremental FileSet = "Standard Set" + Accurate = yes Schedule = "WeeklyCycle" Messages = Standard Max Full Interval = 40 days