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 DDS tape storage device
172 Address = @hostname@ # N.B. Use a fully qualified name here
174 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
175 Device = tape # must be same as Device in Storage daemon
176 Media Type = tape # must be same as MediaType in Storage daemon
177 Maximum Concurrent Jobs = 100
182 # Definition of File storage device
185 Address = @hostname@ # N.B. Use a fully qualified name here
187 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
188 Device = FileStorage # must be same as Device in Storage daemon
189 Media Type = FileMedia # must be same as MediaType in Storage daemon
190 Maximum Concurrent Jobs = 100
193 # Definition of File2 storage device
196 Address = @hostname@ # N.B. Use a fully qualified name here
198 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
199 Device = FileStorage # must be same as Device in Storage daemon
200 Media Type = FileMedia # must be same as MediaType in Storage daemon
201 Maximum Concurrent Jobs = 100
205 # Definition of File3 storage device
208 Address = @hostname@ # N.B. Use a fully qualified name here
210 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
211 Device = FileStorage # must be same as Device in Storage daemon
212 Media Type = FileMedia # must be same as MediaType in Storage daemon
213 Maximum Concurrent Jobs = 100
216 # Definition of File4 storage device
219 Address = @hostname@ # N.B. Use a fully qualified name here
221 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
222 Device = FileStorage # must be same as Device in Storage daemon
223 Media Type = FileMedia # must be same as MediaType in Storage daemon
224 Maximum Concurrent Jobs = 100
229 # Definition of Virtual storage device
232 Address = @hostname@ # N.B. Use a fully qualified name here
234 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
235 Device = Virtual # must be same as Device in Storage daemon
236 Media Type = Disk # must be same as MediaType in Storage daemon
237 Maximum Concurrent Jobs = 100
244 # Generic catalog service
248 dbname = @db_name@; user = @db_user@; password = "@db_password@"
251 # Reasonable message delivery -- send most everything to email address
255 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
256 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
257 # MailOnError = @job_email@ = all, !terminate
258 # operator = @job_email@ = mount
259 console = all, !skipped, !terminate, !restored
261 # WARNING! the following will create a file that you must cycle from
262 # time to time as it will grow indefinitely. However, it will
263 # also keep all your messages if the scroll off the console.
265 append = "@working_dir@/log" = all, !skipped
266 catalog = all, !skipped
270 # Message delivery for daemon messages (no job).
273 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
274 # mail = @job_email@ = all, !skipped
275 console = all, !skipped, !saved
276 append = "@working_dir@/log" = all, !skipped
277 catalog = all, !skipped
281 # Default pool definition
285 Recycle = yes # Bacula can automatically recycle Volumes
286 AutoPrune = yes # Prune expired volumes
287 Volume Retention = 365d # one year
288 RecyclePool=Scratch # test forward reference
294 Recycle = yes # Bacula can automatically recycle Volumes
295 AutoPrune = yes # Prune expired volumes
296 Volume Retention = 365d # one year
302 Recycle = yes # Bacula can automatically recycle Volumes
303 AutoPrune = yes # Prune expired volumes
304 Volume Retention = 365d # one year
310 Recycle = yes # Bacula can automatically recycle Volumes
311 AutoPrune = yes # Prune expired volumes
312 Volume Retention = 365d # one year
313 Recycle Pool = Scratch # recycle back here
319 Recycle = yes # Bacula can automatically recycle Volumes
320 AutoPrune = yes # Prune expired volumes
321 Volume Retention = 365d # one year
322 ScratchPool = SpecialScratch
323 Maximum Volume Jobs = 1
327 Name = SpecialScratch
329 Recycle = yes # Bacula can automatically recycle Volumes
330 AutoPrune = yes # Prune expired volumes
331 Volume Retention = 365d # one year
332 Recycle Pool = SpecialScratch # recycle back here