2 # Bacula Director Configuration file
6 Director { # define myself
8 DIRPort = @dirport@ # where we listen for UA connections
9 QueryFile = "@scriptdir@/query.sql"
10 WorkingDirectory = "@working_dir@"
11 PidDirectory = "@piddir@"
12 Maximum Concurrent Jobs = 40
13 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
18 # Define the main nightly save backup job
19 # By default, this job will back up to disk in @tmpdir@
28 Maximum Concurrent Jobs = 10
31 # Prefer Mounted Volumes = no
42 Write Bootstrap = "@working_dir@/NightlySave1.bsr"
43 Maximum Concurrent Jobs = 10
45 # Prefer Mounted Volumes = no
46 Client Run Before Job = "sleep 2"
57 Write Bootstrap = "@working_dir@/NightlySave2.bsr"
58 Maximum Concurrent Jobs = 10
60 # Prefer Mounted Volumes = no
71 Write Bootstrap = "@working_dir@/NightlySave3.bsr"
72 Maximum Concurrent Jobs = 10
73 # Prefer Mounted Volumes = no
79 Level = VolumeToCatalog
85 Write Bootstrap = "@working_dir@/NightlySave.bsr"
86 Maximum Concurrent Jobs = 4
88 # Prefer Mounted Volumes = no
99 Write Bootstrap = "@working_dir@/copyjob.bsr"
101 Maximum Concurrent Jobs = 4
103 Selection Pattern = ".*Save"
104 # Allow Duplicate Jobs = No
107 # Standard Restore template, to be changed by Console program
109 Name = "RestoreFiles"
116 Where = @tmpdir@/bacula-restores
120 # List of files to be backed up
123 Include { Options { signature=MD5 }
124 File = <@tmpdir@/file-list
135 File = <@tmpdir@/file-list
140 # Client (File Services) to backup
146 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
147 File Retention = 30d # 30 days
148 Job Retention = 180d # six months
149 AutoPrune = yes # Prune expired Jobs/Files
150 Maximum Concurrent Jobs = 10
153 # Client (File Services) to backup
155 Name = @hostname@-fd2
159 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
160 File Retention = 30d # 30 days
161 Job Retention = 180d # six months
162 AutoPrune = yes # Prune expired Jobs/Files
163 Maximum Concurrent Jobs = 10
166 # Client (File Services) to backup
168 Name = @hostname@-fd3
172 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
173 File Retention = 30d # 30 days
174 Job Retention = 180d # six months
175 AutoPrune = yes # Prune expired Jobs/Files
176 Maximum Concurrent Jobs = 10
179 # Client (File Services) to backup
181 Name = @hostname@-fd4
185 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
186 File Retention = 30d # 30 days
187 Job Retention = 180d # six months
188 AutoPrune = yes # Prune expired Jobs/Files
189 Maximum Concurrent Jobs = 10
192 # Client (File Services) to backup
194 Name = @hostname@-fd5
198 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
199 File Retention = 30d # 30 days
200 Job Retention = 180d # six months
201 AutoPrune = yes # Prune expired Jobs/Files
202 Maximum Concurrent Jobs = 10
210 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
214 Maximum Concurrent Jobs = 50
221 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
224 Maximum Concurrent Jobs = 50
227 ################################################################
228 # WARNING: Bacula doesn't support this kind of configuration
229 # This is for testing purpose only !!!!!!!!!!!!
230 ################################################################
236 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
240 Maximum Concurrent Jobs = 5
247 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
251 Maximum Concurrent Jobs = 5
258 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
262 Maximum Concurrent Jobs = 5
269 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
273 Maximum Concurrent Jobs = 5
280 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
284 Maximum Concurrent Jobs = 5
291 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
295 Maximum Concurrent Jobs = 5
302 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
304 Media Type = LTO1-ANSI
306 Maximum Concurrent Jobs = 5
309 # Definition of File storage device
312 Address = @hostname@ # N.B. Use a fully qualified name here
314 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
315 Device = FileStorage # must be same as Device in Storage daemon
316 Media Type = FileMedia # must be same as MediaType in Storage daemon
317 Maximum Concurrent Jobs = 10
320 # Generic catalog service
324 dbname = @db_name@; user = @db_user@; password = "@db_password@"
327 # Reasonable message delivery -- send most everything to email address
331 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
332 mail = @job_email@ = all, !skipped
333 console = all, !skipped, !terminate, !restored
334 append = "@working_dir@/log" = all, !skipped
335 catalog = all, !skipped, !saved
339 # Message delivery for daemon messages (no job).
342 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
343 mail = @job_email@ = all, !skipped
344 console = all, !skipped, !saved
345 append = "@working_dir@/log" = all, !skipped
346 catalog = all, !skipped, !saved
350 # Default pool definition
354 Recycle = yes # Bacula can automatically recycle Volumes
355 AutoPrune = yes # Prune expired volumes
356 Volume Retention = 365d # one year
357 Next Pool = MigrationLTO3
363 Recycle = yes # Bacula can automatically recycle Volumes
364 AutoPrune = yes # Prune expired volumes
365 Volume Retention = 365d # one year
366 Next Pool = MigrationLTO3
372 Recycle = yes # Bacula can automatically recycle Volumes
373 AutoPrune = yes # Prune expired volumes
374 Volume Retention = 365d # one year
375 MaximumVolumeJobs = 1
376 Next Pool = MigrationLTO3
382 Recycle = yes # Bacula can automatically recycle Volumes
383 AutoPrune = yes # Prune expired volumes
384 Volume Retention = 365d # one year
385 Next Pool = MigrationLTO3
391 Recycle = yes # Bacula can automatically recycle Volumes
392 AutoPrune = yes # Prune expired volumes
393 Volume Retention = 365d # one year
394 Next Pool = MigrationLTO3
400 Recycle = yes # Bacula can automatically recycle Volumes
401 AutoPrune = yes # Prune expired volumes
402 Volume Retention = 365d # one year
403 Recycle Pool = Scratch # recycle back here
404 Cleaning Prefix = CLN
412 Volume Retention = 2d
421 Volume Retention = 2d