projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TLSA for rsync sites
[mirror/dsa-puppet.git]
/
modules
/
bacula
/
templates
/
bacula-dir.conf.erb
diff --git
a/modules/bacula/templates/bacula-dir.conf.erb
b/modules/bacula/templates/bacula-dir.conf.erb
index
1026d97
..
007e916
100644
(file)
--- a/
modules/bacula/templates/bacula-dir.conf.erb
+++ b/
modules/bacula/templates/bacula-dir.conf.erb
@@
-39,10
+39,17
@@
Director {
########################################################################
FileSet {
Name = "Standard Set"
########################################################################
FileSet {
Name = "Standard Set"
+ Ignore FileSet Changes = yes
Include {
Options {
signature = SHA1
compression = GZIP9
Include {
Options {
signature = SHA1
compression = GZIP9
+ aclsupport = yes
+ xattrsupport = yes
+ }
+ Options {
+ wild = "/swapfile*"
+ exclude = yes
}
File = "\\|/usr/local/sbin/bacula-backup-dirs"
# Dont backup directories that contain .nobackup files
}
File = "\\|/usr/local/sbin/bacula-backup-dirs"
# Dont backup directories that contain .nobackup files
@@
-53,7
+60,6
@@
FileSet {
File = /var/lib/bacula
File = /var/cache/apt/
File = /nonexistant
File = /var/lib/bacula
File = /var/cache/apt/
File = /nonexistant
- File = /swapfile
File = /proc
File = /tmp
File = /.journal
File = /proc
File = /tmp
File = /.journal
@@
-65,6
+71,7
@@
FileSet {
File = /dev
File = /srv/chroot
File = /home/buildd/build-trees
File = /dev
File = /srv/chroot
File = /home/buildd/build-trees
+ File = "\\|bash -c 'grep -s -v ^# /etc/bacula/local-exclude || true'"
}
}
}
}
@@
-76,9
+83,9
@@
FileSet {
Include {
Options {
signature = SHA1
Include {
Options {
signature = SHA1
- compression = GZIP9
+
#
compression = GZIP9
}
}
- File = "/var/lib/bacula/bacula.sql"
+ File = "/var/lib/bacula/bacula.sql
.gz
"
}
}
}
}
@@
-91,8
+98,10
@@
FileSet {
# and incremental backups other days
Schedule {
Name = "WeeklyCycle"
# 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
}
Run = Incremental sun-fri at 00:35
}
@@
-155,9
+164,10
@@
JobDefs {
Type = Backup
Level = Incremental
FileSet = "Standard Set"
Type = Backup
Level = Incremental
FileSet = "Standard Set"
+ Accurate = yes
Schedule = "WeeklyCycle"
Messages = Standard
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
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"
Maximum Concurrent Jobs = 20