/usr/share/doc/bacula-common/examples/conf/bacula-defs.m4 is in bacula-common 7.0.5+dfsg-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | define(`CLIENT',`
Job {
Name = "$1"
JobDefs = "$3"
Client = "$1"
FileSet = "$1"
Write Bootstrap = "/var/bacula/working/$1.bsr"
}
Client {
Name = "$1"
Address = "$2"
FDPort = 9102
Catalog = MyCatalog
Password = "ilF0PZoICjQ60R3E3dks08Rq36KK8cDGJUAaW" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
')
define(`STORAGE', `
Storage {
Name = "$1"
Address = "$3"
SDPort = 9103
Password = "KLUwcp1ZTeIc0x265UPrpWW28t7d7cRXmhOqyHxRr"
Device = "$1" # must be same as Device in Storage daemon
Media Type = "$2" # must be same as MediaType in Storage daemon
}')
define(`POOL', `
Pool {
Name = "$1"
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Accept Any Volume = yes # write on any volume in the pool
Cleaning Prefix = "CLN"
}')
|