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 PluginDirectory = "@sbindir@"
23 Maximum Concurrent Jobs = 4
24 Heartbeat Interval = 330
25 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
30 # Define the main nightly save backup job
31 # By default, this job will back up to disk in @tmpdir@
40 Write Bootstrap = "@working_dir@/NightlySave.bsr"
41 Maximum Concurrent Jobs = 10
44 Reschedule On Error = no
45 Reschedule Interval = 10
57 Write Bootstrap = "@working_dir@/NightlySave.bsr"
59 Maximum Concurrent Jobs = 10
64 Name = "MonsterFileSet"
67 FileSet="MonsterFileSet"
71 Maximum Concurrent Jobs = 10
72 Write Bootstrap = "@working_dir@/NightlySave.bsr"
82 Level = VolumeToCatalog
88 Write Bootstrap = "@working_dir@/NightlySave.bsr"
101 Write Bootstrap = "@working_dir@/NightlySave.bsr"
104 Maximum Concurrent Jobs = 10
108 Name = "CompressedTest"
111 FileSet="CompressedSet"
115 Maximum Concurrent Jobs = 10
116 Write Bootstrap = "@working_dir@/NightlySave.bsr"
122 Name = "SparseCompressedTest"
125 FileSet="SparseCompressedSet"
129 Write Bootstrap = "@working_dir@/NightlySave.bsr"
132 Maximum Concurrent Jobs = 10
143 Maximum Concurrent Jobs = 10
144 Write Bootstrap = "@working_dir@/NightlySave.bsr"
150 Name = "SparseLZOTest"
153 FileSet="SparseLZOSet"
157 Write Bootstrap = "@working_dir@/NightlySave.bsr"
160 Maximum Concurrent Jobs = 10
171 Write Bootstrap = "@working_dir@/NightlySave.bsr"
172 ClientRunBeforeJob = "sleep 5"
178 # Backup the catalog database (after the nightly save)
180 Name = "BackupCatalog"
184 # Schedule = "WeeklyCycleAfterBackup"
188 # This creates an ASCII copy of the catalog
189 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
190 # This deletes the copy of the catalog
191 RunAfterJob = "@sbindir@/delete_catalog_backup"
192 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
207 JobDefs = "BackupJob"
208 Name = "bug621-job-1"
209 Client = @hostname@-fd
211 ClientRunBeforeJob = "sleep 5"
215 JobDefs = "BackupJob"
216 Name = "bug621-job-2"
217 Client = @hostname@-fd
224 # Standard Restore template, to be changed by Console program
226 Name = "RestoreFiles"
233 Where = @tmpdir@/bacula-restores
238 # List of files to be backed up
242 Options { signature=MD5; sparse=yes;
244 File = <@tmpdir@/file-list
255 File = <@tmpdir@/file-list
260 Name = "CompressedSet"
266 File = <@tmpdir@/file-list
277 File = <@tmpdir@/file-list
288 File = <@tmpdir@/file-list
294 Name = "SparseCompressedSet"
301 File = <@tmpdir@/file-list
306 Name = "SparseLZOSet"
313 File = <@tmpdir@/file-list
318 Name = "MonsterFileSet"
326 RegexDir = "Windows Defender"
327 RegexDir = "Temporary Internet Files"
331 RegexDir = "ATI Technologies"
333 RegexDir = "wmdownloads"
334 RegexDir = "My Music"
338 RegexFile = "desktop.ini"
339 RegexFile = "thumbs.db"
340 RegexFile = "acrobat7.exe"
341 RegexFile = "acr6win.exe"
342 RegexFile = "AdbeRdr70_enu_full.exe"
343 RegexFile = "antivirus10_1_5.exe"
344 #thunderbird lock file
345 RegexFile = "parent.lock"
347 RegexDir = "Retrospect Restore Points"
349 #exclude i386 director of windows installer files
350 WildDir = "[A-Z]:/i386"
352 # Exclude Mozilla-based programs' file caches
353 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
354 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
356 # Exclude user's registry files - they're always in use anyway.
357 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
358 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
359 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
360 WildFile = "[A-Z]:/Users/*/ntuser.*"
362 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
363 WildDir = "[A-Z]:/Users/*/Recent"
365 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
366 WildDir = "[A-Z]:/Users/*/Local Settings/History"
368 # These are always open and unable to be backed up
369 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
370 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
372 #Exclude all of Windows...
373 WildDir = "[A-Z]:/windows"
374 WildDir = "[A-Z]:/winnt"
375 WildDir = "[A-Z]:/winxp"
376 WildDir = "[A-Z]:/win"
378 #symantec antivirus app stuff
379 WildDir = "[A-Z]:/*/Symantec*"
381 #system volume information
382 WildDir = "[A-Z]:/System Volume Information"
385 # ghost image and spanning files
390 WildDir = "[A-Z]:/RECYCLER"
391 WildDir = "[A-Z]:/RECYCLER"
392 WildDir = "[A-Z]:/RECYCLED"
393 WildDir = "[A-Z]:/$RECYCLE.BIN"
396 WildFile = "[A-Z]:/pagefile.sys"
398 # These are programs and are easier to reinstall than restore from
400 WildDir = "[A-Z]:/cygwin"
401 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
402 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
404 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
405 WildDir = "[A-Z]:/Software Center"
407 WildDir = "[A-Z]:/Program Files/Grisoft"
408 WildDir = "[A-Z]:/Program Files/Java"
409 WildDir = "[A-Z]:/Program Files/Java Web Start"
410 WildDir = "[A-Z]:/Program Files/JavaSoft"
411 WildDir = "[A-Z]:/Program Files/Microsoft Office"
412 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
413 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
414 WildDir = "[A-Z]:/Program Files/mozilla.org"
415 WildDir = "[A-Z]:/Program Files/OpenOffice*"
417 File = <@tmpdir@/file-list
423 # When to do the backups, full backup on first sunday of the month,
424 # differential (i.e. incremental since full) every other sunday,
425 # and incremental backups other days
428 Run = Level=Full 1st sun at 1:05
429 Run = Level=Differential 2nd-5th sun at 1:05
430 Run = Level=Incremental mon-sat at 1:05
433 # This schedule does the catalog. It starts after the WeeklyCycle
435 Name = "WeeklyCycleAfterBackup"
436 Run = Level=Full sun-sat at 1:10
439 # This is the backup of the catalog
446 File = /home/kern/bacula/regress/bin/working/bacula.sql
450 # Client (File Services) to backup
456 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
457 File Retention = 30d # 30 days
458 Job Retention = 180d # six months
459 AutoPrune = yes # Prune expired Jobs/Files
460 Maximum Concurrent Jobs = 10
463 # Definiton of file storage device
466 Address = @hostname@ # N.B. Use a fully qualified name here
468 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
471 Maximum Concurrent Jobs = 10
472 Heartbeat Interval = 330
477 Address = @hostname@ # N.B. Use a fully qualified name here
479 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
480 Device = FileStorage1
482 Maximum Concurrent Jobs = 10
483 Heartbeat Interval = 330
487 # Definition of DLT tape storage device
490 # Address = @hostname@ # N.B. Use a fully qualified name here
492 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
493 # Device = "HP DLT 80" # must be same as Device in Storage daemon
494 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
497 # Definition of DDS tape storage device
500 # Address = @hostname@ # N.B. Use a fully qualified name here
502 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
503 # Device = SDT-10000 # must be same as Device in Storage daemon
504 # Media Type = tape # must be same as MediaType in Storage daemon
507 # Definition of 8mm tape storage device
510 # Address = @hostname@ # N.B. Use a fully qualified name here
512 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
513 # Device = "Exabyte 8mm"
518 # Generic catalog service
522 dbname = @db_name@; user = @db_user@; password = "@db_password@"
525 # Reasonable message delivery -- send most everything to email address
529 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
530 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
531 # MailOnError = @job_email@ = all
532 # operator = @job_email@ = mount
533 console = all, !skipped, !terminate, !restored
535 # WARNING! the following will create a file that you must cycle from
536 # time to time as it will grow indefinitely. However, it will
537 # also keep all your messages if the scroll off the console.
539 append = "@working_dir@/log" = all, !skipped
540 catalog = all, !skipped
545 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
546 console = all, !skipped, !terminate
548 # WARNING! the following will create a file that you must cycle from
549 # time to time as it will grow indefinitely. However, it will
550 # also keep all your messages if the scroll off the console.
552 append = "@working_dir@/log" = all, !skipped
553 catalog = all, !skipped
557 # Default pool definition
561 Recycle = yes # Bacula can automatically recycle Volumes
562 AutoPrune = yes # Prune expired volumes
563 Volume Retention = 365d # one year
564 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
565 # Simple Label Format = "Backup-"
566 # Maximum Volume Jobs = 1
567 # Maximum Volume Bytes = 512000