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 = 10
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 = 10
51 Write Bootstrap = "@working_dir@/NightlySave.bsr"
53 Maximum Concurrent Jobs = 10
61 Level = VolumeToCatalog
67 Write Bootstrap = "@working_dir@/NightlySave.bsr"
79 Write Bootstrap = "@working_dir@/NightlySave.bsr"
81 Maximum Concurrent Jobs = 10
86 Name = "CompressedTest"
89 FileSet="CompressedSet"
94 Maximum Concurrent Jobs = 10
96 Write Bootstrap = "@working_dir@/NightlySave.bsr"
100 Name = "SparseCompressedTest"
103 FileSet="SparseCompressedSet"
107 Write Bootstrap = "@working_dir@/NightlySave.bsr"
109 Maximum Concurrent Jobs = 10
121 Write Bootstrap = "@working_dir@/NightlySave.bsr"
122 ClientRunBeforeJob = "/bin/sleep 5"
127 # Backup the catalog database (after the nightly save)
129 Name = "BackupCatalog"
133 # Schedule = "WeeklyCycleAfterBackup"
137 # This creates an ASCII copy of the catalog
138 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
139 # This deletes the copy of the catalog
140 RunAfterJob = "@sbindir@/delete_catalog_backup"
141 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
154 JobDefs = "BackupJob"
155 Name = "bug621-job-1"
156 Client = localhost-fd
158 ClientRunBeforeJob = "/bin/sleep 5"
162 JobDefs = "BackupJob"
163 Name = "bug621-job-2"
164 Client = localhost-fd
171 # Standard Restore template, to be changed by Console program
173 Name = "RestoreFiles"
180 Where = @tmpdir@/bacula-restores
184 # List of files to be backed up
187 Include { Options { signature=MD5 }
188 File = <@tmpdir@/file-list
199 File = <@tmpdir@/file-list
204 Name = "CompressedSet"
210 File = <@tmpdir@/file-list
221 File = <@tmpdir@/file-list
227 Name = "SparseCompressedSet"
234 File = <@tmpdir@/file-list
241 # When to do the backups, full backup on first sunday of the month,
242 # differential (i.e. incremental since full) every other sunday,
243 # and incremental backups other days
246 Run = Level=Full 1st sun at 1:05
247 Run = Level=Differential 2nd-5th sun at 1:05
248 Run = Level=Incremental mon-sat at 1:05
251 # This schedule does the catalog. It starts after the WeeklyCycle
253 Name = "WeeklyCycleAfterBackup"
254 Run = Level=Full sun-sat at 1:10
257 # This is the backup of the catalog
264 File = /home/kern/bacula/regress/bin/working/bacula.sql
268 # Client (File Services) to backup
274 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
275 File Retention = 30d # 30 days
276 Job Retention = 180d # six months
277 AutoPrune = yes # Prune expired Jobs/Files
278 Maximum Concurrent Jobs = 10
280 TLS Certificate = "@scriptdir@/tls-cert.pem"
281 TLS Key = "@scriptdir@/tls-cert.pem"
282 TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
285 # Definiton of file storage device
288 Address = localhost # N.B. Use a fully qualified name here
290 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
293 Maximum Concurrent Jobs = 10
295 TLS Certificate = "@scriptdir@/tls-cert.pem"
296 TLS Key = "@scriptdir@/tls-cert.pem"
297 TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
302 Address = localhost # N.B. Use a fully qualified name here
304 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
305 Device = FileStorage1
307 Maximum Concurrent Jobs = 10
309 TLS Certificate = "@scriptdir@/tls-cert.pem"
310 TLS Key = "@scriptdir@/tls-cert.pem"
311 TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
315 # Definition of DLT tape storage device
318 # Address = localhost # N.B. Use a fully qualified name here
320 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
321 # Device = "HP DLT 80" # must be same as Device in Storage daemon
322 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
325 # Definition of DDS tape storage device
328 # Address = localhost # N.B. Use a fully qualified name here
330 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
331 # Device = SDT-10000 # must be same as Device in Storage daemon
332 # Media Type = tape # must be same as MediaType in Storage daemon
335 # Definition of 8mm tape storage device
338 # Address = localhost # N.B. Use a fully qualified name here
340 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
341 # Device = "Exabyte 8mm"
346 # Generic catalog service
350 dbname = @db_name@; user = @db_user@; password = "@db_password@"
353 # Reasonable message delivery -- send most everything to email address
357 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
358 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
359 # MailOnError = @job_email@ = all
360 # operator = @job_email@ = mount
361 console = all, !skipped, !terminate, !restored
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
368 catalog = all, !skipped
373 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
374 console = all, !skipped, !terminate
376 # WARNING! the following will create a file that you must cycle from
377 # time to time as it will grow indefinitely. However, it will
378 # also keep all your messages if the scroll off the console.
380 append = "@working_dir@/log" = all, !skipped
381 catalog = all, !skipped
385 # Default pool definition
389 Recycle = yes # Bacula can automatically recycle Volumes
390 AutoPrune = yes # Prune expired volumes
391 Volume Retention = 365d # one year
392 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"