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.39 or later
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 SubSysDirectory = "@subsysdir@"
22 Maximum Concurrent Jobs = 4
23 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
28 # Define the main nightly save backup job
29 # By default, this job will back up to disk in @tmpdir@
38 Write Bootstrap = "@working_dir@/NightlySave.bsr"
39 Maximum Concurrent Jobs = 4
51 Write Bootstrap = "@working_dir@/NightlySave.bsr"
58 Level = VolumeToCatalog
64 Write Bootstrap = "@working_dir@/NightlySave.bsr"
76 Write Bootstrap = "@working_dir@/NightlySave.bsr"
80 Name = "CompressedTest"
83 FileSet="CompressedSet"
87 Maximum Concurrent Jobs = 4
88 Write Bootstrap = "@working_dir@/NightlySave.bsr"
92 Name = "SparseCompressedTest"
95 FileSet="SparseCompressedSet"
99 Write Bootstrap = "@working_dir@/NightlySave.bsr"
110 Write Bootstrap = "@working_dir@/NightlySave.bsr"
111 ClientRunBeforeJob = "/bin/sleep 60"
116 # Backup the catalog database (after the nightly save)
118 Name = "BackupCatalog"
122 # Schedule = "WeeklyCycleAfterBackup"
126 # This creates an ASCII copy of the catalog
127 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
128 # This deletes the copy of the catalog
129 RunAfterJob = "@sbindir@/delete_catalog_backup"
130 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
143 JobDefs = "BackupJob"
144 Name = "bug621-job-1"
145 Client = @hostname@-fd
147 ClientRunBeforeJob = "/bin/sleep 60"
151 JobDefs = "BackupJob"
152 Name = "bug621-job-2"
153 Client = @hostname@-fd
160 # Standard Restore template, to be changed by Console program
162 Name = "RestoreFiles"
169 Where = @tmpdir@/bacula-restores
173 # List of files to be backed up
176 Include { Options { signature=MD5 }
177 File = <@tmpdir@/file-list
188 File = <@tmpdir@/file-list
193 Name = "CompressedSet"
199 File = <@tmpdir@/file-list
210 File = <@tmpdir@/file-list
216 Name = "SparseCompressedSet"
223 File = <@tmpdir@/file-list
230 # When to do the backups, full backup on first sunday of the month,
231 # differential (i.e. incremental since full) every other sunday,
232 # and incremental backups other days
235 Run = Level=Full 1st sun at 1:05
236 Run = Level=Differential 2nd-5th sun at 1:05
237 Run = Level=Incremental mon-sat at 1:05
240 # This schedule does the catalog. It starts after the WeeklyCycle
242 Name = "WeeklyCycleAfterBackup"
243 Run = Level=Full sun-sat at 1:10
246 # This is the backup of the catalog
253 File = /home/kern/bacula/regress/bin/working/bacula.sql
257 # Client (File Services) to backup
263 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
264 File Retention = 30d # 30 days
265 Job Retention = 180d # six months
266 AutoPrune = yes # Prune expired Jobs/Files
267 Maximum Concurrent Jobs = 4
269 TLS Certificate = "@scriptdir@/tls-cert.pem"
270 TLS Key = "@scriptdir@/tls-cert.pem"
271 TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
274 # Definiton of file storage device
277 Address = @hostname@ # N.B. Use a fully qualified name here
279 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
282 Maximum Concurrent Jobs = 4
284 TLS Certificate = "@scriptdir@/tls-cert.pem"
285 TLS Key = "@scriptdir@/tls-cert.pem"
286 TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
291 Address = @hostname@ # N.B. Use a fully qualified name here
293 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
294 Device = FileStorage1
296 Maximum Concurrent Jobs = 4
298 TLS Certificate = "@scriptdir@/tls-cert.pem"
299 TLS Key = "@scriptdir@/tls-cert.pem"
300 TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
304 # Definition of DLT tape storage device
307 # Address = @hostname@ # N.B. Use a fully qualified name here
309 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
310 # Device = "HP DLT 80" # must be same as Device in Storage daemon
311 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
314 # Definition of DDS tape storage device
317 # Address = @hostname@ # N.B. Use a fully qualified name here
319 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
320 # Device = SDT-10000 # must be same as Device in Storage daemon
321 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
324 # Definition of 8mm tape storage device
327 # Address = @hostname@ # N.B. Use a fully qualified name here
329 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
330 # Device = "Exabyte 8mm"
335 # Generic catalog service
338 dbname = regress; user = regress; password = ""
341 # Reasonable message delivery -- send most everything to email address
345 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
346 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
347 MailOnError = @job_email@ = all
348 operator = @job_email@ = mount
349 console = all, !skipped, !terminate, !restored
351 # WARNING! the following will create a file that you must cycle from
352 # time to time as it will grow indefinitely. However, it will
353 # also keep all your messages if the scroll off the console.
355 append = "@working_dir@/log" = all, !skipped
360 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
361 console = all, !skipped, !terminate
363 # WARNING! the following will create a file that you must cycle from
364 # time to time as it will grow indefinitely. However, it will
365 # also keep all your messages if the scroll off the console.
367 append = "@working_dir@/log" = all, !skipped
371 # Default pool definition
375 Recycle = yes # Bacula can automatically recycle Volumes
376 AutoPrune = yes # Prune expired volumes
377 Volume Retention = 365d # one year
378 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"