2 # Default Bacula Director Configuration file
4 # The only thing that MUST be changed is to add one or more
5 # file or directory names in the Include directive of the
8 # For Bacula release 1.33
10 # You might also want to change the default email address
11 # from root to your address. See the "mail" and "operator"
12 # directives in the Messages resource.
15 Director { # define myself
17 DIRPort = @dirport@ # where we listen for UA connections
18 QueryFile = "@scriptdir@/query.sql"
19 WorkingDirectory = "@working_dir@"
20 PidDirectory = "@piddir@"
21 Maximum Concurrent Jobs = 100
22 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
24 FD Connect Timeout = 2min
28 # Define the main nightly save backup job
29 # By default, this job will back up to disk in @tmpdir@
33 Client = @hostname@-fd
38 Write Bootstrap = "@working_dir@/NightlySave.bsr"
39 Maximum Concurrent Jobs = 100
41 # Prefer Mounted Volumes = no
49 Client = @hostname@-fd
54 Write Bootstrap = "@working_dir@/NightlySave.bsr"
55 Maximum Concurrent Jobs = 100
57 # Prefer Mounted Volumes = no
58 Client Run Before Job = "/bin/sleep 10"
70 Write Bootstrap = "@working_dir@/NightlySave.bsr"
71 Maximum Concurrent Jobs = 100
73 # Prefer Mounted Volumes = no
80 Level = VolumeToCatalog
86 Write Bootstrap = "@working_dir@/NightlySave.bsr"
87 Maximum Concurrent Jobs = 100
89 # Prefer Mounted Volumes = no
101 Write Bootstrap = "@working_dir@/NightlySave.bsr"
102 Maximum Concurrent Jobs = 100
104 # Prefer Mounted Volumes = no
110 # Standard Restore template, to be changed by Console program
112 Name = "RestoreFiles"
119 Where = @tmpdir@/bacula-restores
124 # List of files to be backed up
127 Include { Options { signature=MD5 }
128 File = <@tmpdir@/file-list
139 File = <@tmpdir@/file-list
146 # When to do the backups, full backup on first sunday of the month,
147 # differential (i.e. incremental since full) every other sunday,
148 # and incremental backups other days
151 Run = Full 1st sun at 1:05
152 Run = Differential 2nd-5th sun at 1:05
153 Run = Incremental mon-sat at 1:05
156 # Client (File Services) to backup
162 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
163 File Retention = 30d # 30 days
164 Job Retention = 180d # six months
165 AutoPrune = yes # Prune expired Jobs/Files
166 Maximum Concurrent Jobs = 100
169 # Definition of File storage device
172 Address = @hostname@ # N.B. Use a fully qualified name here
174 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
175 Device = FileStorage # must be same as Device in Storage daemon
176 Media Type = FileMedia # must be same as MediaType in Storage daemon
177 Maximum Concurrent Jobs = 100
180 # Definition of File2 storage device
183 Address = @hostname@ # N.B. Use a fully qualified name here
185 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
186 Device = FileStorage # must be same as Device in Storage daemon
187 Media Type = FileMedia2 # must be same as MediaType in Storage daemon
188 Maximum Concurrent Jobs = 100
191 # Definition of File3 storage device
194 Address = @hostname@ # N.B. Use a fully qualified name here
196 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
197 Device = FileStorage # must be same as Device in Storage daemon
198 Media Type = FileMedia3 # must be same as MediaType in Storage daemon
199 Maximum Concurrent Jobs = 100
202 # Definition of File4 storage device
205 Address = @hostname@ # N.B. Use a fully qualified name here
207 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
208 Device = FileStorage # must be same as Device in Storage daemon
209 Media Type = FileMedia4 # must be same as MediaType in Storage daemon
210 Maximum Concurrent Jobs = 100
213 # Definition of DDS tape storage device
216 Address = @hostname@ # N.B. Use a fully qualified name here
218 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
219 Device = tape # must be same as Device in Storage daemon
220 Media Type = tape # must be same as MediaType in Storage daemon
221 Maximum Concurrent Jobs = 100
225 # Definition of Virtual storage device
228 Address = @hostname@ # N.B. Use a fully qualified name here
230 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
231 Device = Virtual # must be same as Device in Storage daemon
232 Media Type = Disk # must be same as MediaType in Storage daemon
233 Maximum Concurrent Jobs = 100
240 # Generic catalog service
244 dbname = @db_name@; user = @db_user@; password = "@db_password@"
247 # Reasonable message delivery -- send most everything to email address
251 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
252 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
253 # MailOnError = @job_email@ = all, !terminate
254 # operator = @job_email@ = mount
255 console = all, !skipped, !terminate, !restored
257 # WARNING! the following will create a file that you must cycle from
258 # time to time as it will grow indefinitely. However, it will
259 # also keep all your messages if the scroll off the console.
261 append = "@working_dir@/log" = all, !skipped
262 catalog = all, !skipped
266 # Message delivery for daemon messages (no job).
269 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
270 # mail = @job_email@ = all, !skipped
271 console = all, !skipped, !saved
272 append = "@working_dir@/log" = all, !skipped
273 catalog = all, !skipped
277 # Default pool definition
281 Recycle = yes # Bacula can automatically recycle Volumes
282 AutoPrune = yes # Prune expired volumes
283 Volume Retention = 365d # one year
284 RecyclePool=Scratch # test forward reference
290 Recycle = yes # Bacula can automatically recycle Volumes
291 AutoPrune = yes # Prune expired volumes
292 Volume Retention = 365d # one year
298 Recycle = yes # Bacula can automatically recycle Volumes
299 AutoPrune = yes # Prune expired volumes
300 Volume Retention = 365d # one year
306 Recycle = yes # Bacula can automatically recycle Volumes
307 AutoPrune = yes # Prune expired volumes
308 Volume Retention = 365d # one year
309 Recycle Pool = Scratch # recycle back here
315 Recycle = yes # Bacula can automatically recycle Volumes
316 AutoPrune = yes # Prune expired volumes
317 Volume Retention = 365d # one year
318 ScratchPool = SpecialScratch
319 Maximum Volume Jobs = 1
323 Name = SpecialScratch
325 Recycle = yes # Bacula can automatically recycle Volumes
326 AutoPrune = yes # Prune expired volumes
327 Volume Retention = 365d # one year
328 Recycle Pool = SpecialScratch # recycle back here