X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbacula-dir.conf.erb;h=d12aafbc9c1a147b67eecdeaae1090500271faee;hb=a52f9845b97672888a2ceba7b0b11a593f0872f1;hp=cd8826c3444daecc9710f4f0173c96998dc522b5;hpb=23b7b6241cf5fbe119eaa14a54fa1514be63feb6;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index cd8826c34..d12aafbc9 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -65,7 +65,7 @@ FileSet { File = /dev File = /srv/chroot File = /home/buildd/build-trees - File = "\\|grep -s -v ^# /etc/bacula/local-exclude || true" + File = "\\|bash -c 'grep -s -v ^# /etc/bacula/local-exclude || true'" } } @@ -92,8 +92,10 @@ FileSet { # and incremental backups other days Schedule { Name = "WeeklyCycle" - Run = Full 1st sat at 00:35 - Run = Differential 2nd-5th sat at 00:35 + # fulls are automatically run if the last full backup was 40 days ago + # for the current value of 40 look for "Max Full Interval" in this file. + # Run = Full 1st sat at 00:35 + Run = Differential sat at 00:35 Run = Incremental sun-fri at 00:35 } @@ -158,7 +160,7 @@ JobDefs { FileSet = "Standard Set" Schedule = "WeeklyCycle" Messages = Standard - Max Full Interval = 1 month + Max Full Interval = 40 days Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" Maximum Concurrent Jobs = 20