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 Maximum Concurrent Jobs = 10
58 Write Bootstrap = "@working_dir@/NightlySave.bsr"
72 Write Bootstrap = "@working_dir@/NightlySave.bsr"
74 Maximum Concurrent Jobs = 10
79 Name = "MonsterFileSet"
82 FileSet="MonsterFileSet"
86 Maximum Concurrent Jobs = 10
87 Write Bootstrap = "@working_dir@/NightlySave.bsr"
97 Level = VolumeToCatalog
103 Write Bootstrap = "@working_dir@/NightlySave.bsr"
116 Write Bootstrap = "@working_dir@/NightlySave.bsr"
119 Maximum Concurrent Jobs = 10
130 Write Bootstrap = "@working_dir@/NightlySave.bsr"
132 Maximum Concurrent Jobs = 10
136 Name = "CompressedTest"
139 FileSet="CompressedSet"
143 Maximum Concurrent Jobs = 10
144 Write Bootstrap = "@working_dir@/NightlySave.bsr"
150 Name = "SparseCompressedTest"
153 FileSet="SparseCompressedSet"
157 Write Bootstrap = "@working_dir@/NightlySave.bsr"
160 Maximum Concurrent Jobs = 10
171 Maximum Concurrent Jobs = 10
172 Write Bootstrap = "@working_dir@/NightlySave.bsr"
184 Maximum Concurrent Jobs = 10
185 Write Bootstrap = "@working_dir@/NightlySave.bsr"
191 Name = "SparseLZOTest"
194 FileSet="SparseLZOSet"
198 Write Bootstrap = "@working_dir@/NightlySave.bsr"
201 Maximum Concurrent Jobs = 10
212 Write Bootstrap = "@working_dir@/NightlySave.bsr"
213 ClientRunBeforeJob = "sleep 5"
219 # Backup the catalog database (after the nightly save)
221 Name = "BackupCatalog"
225 # Schedule = "WeeklyCycleAfterBackup"
229 # This creates an ASCII copy of the catalog
230 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
231 # This deletes the copy of the catalog
232 RunAfterJob = "@sbindir@/delete_catalog_backup"
233 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
248 JobDefs = "BackupJob"
249 Name = "bug621-job-1"
250 Client = @hostname@-fd
252 ClientRunBeforeJob = "sleep 5"
256 JobDefs = "BackupJob"
257 Name = "bug621-job-2"
258 Client = @hostname@-fd
265 # Standard Restore template, to be changed by Console program
267 Name = "RestoreFiles"
274 Where = @tmpdir@/bacula-restores
279 # List of files to be backed up
283 Options { signature=MD5; sparse=yes;
285 File = <@tmpdir@/file-list
292 Options { signature=MD5 }
293 File = <@tmpdir@/file-list
305 Plugin = "vsphere: host=@VSPHERE_HOST1@"
316 Plugin = "vsphere: host=@VSPHERE_HOST1@"
317 Plugin = "vsphere: host=@VSPHERE_HOST2@"
328 File = <@tmpdir@/file-list
333 Name = "CompressedSet"
340 File = <@tmpdir@/file-list
351 File = <@tmpdir@/file-list
362 File = <@tmpdir@/file-list
373 File = <@tmpdir@/file-list
379 Name = "SparseCompressedSet"
386 File = <@tmpdir@/file-list
391 Name = "SparseLZOSet"
398 File = <@tmpdir@/file-list
403 Name = "MonsterFileSet"
411 RegexDir = "Windows Defender"
412 RegexDir = "Temporary Internet Files"
416 RegexDir = "ATI Technologies"
418 RegexDir = "wmdownloads"
419 RegexDir = "My Music"
423 RegexFile = "desktop.ini"
424 RegexFile = "thumbs.db"
425 RegexFile = "acrobat7.exe"
426 RegexFile = "acr6win.exe"
427 RegexFile = "AdbeRdr70_enu_full.exe"
428 RegexFile = "antivirus10_1_5.exe"
429 #thunderbird lock file
430 RegexFile = "parent.lock"
432 RegexDir = "Retrospect Restore Points"
434 #exclude i386 director of windows installer files
435 WildDir = "[A-Z]:/i386"
437 # Exclude Mozilla-based programs' file caches
438 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
439 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
441 # Exclude user's registry files - they're always in use anyway.
442 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
443 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
444 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
445 WildFile = "[A-Z]:/Users/*/ntuser.*"
447 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
448 WildDir = "[A-Z]:/Users/*/Recent"
450 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
451 WildDir = "[A-Z]:/Users/*/Local Settings/History"
453 # These are always open and unable to be backed up
454 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
455 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
457 #Exclude all of Windows...
458 WildDir = "[A-Z]:/windows"
459 WildDir = "[A-Z]:/winnt"
460 WildDir = "[A-Z]:/winxp"
461 WildDir = "[A-Z]:/win"
463 #symantec antivirus app stuff
464 WildDir = "[A-Z]:/*/Symantec*"
466 #system volume information
467 WildDir = "[A-Z]:/System Volume Information"
470 # ghost image and spanning files
475 WildDir = "[A-Z]:/RECYCLER"
476 WildDir = "[A-Z]:/RECYCLER"
477 WildDir = "[A-Z]:/RECYCLED"
478 WildDir = "[A-Z]:/$RECYCLE.BIN"
481 WildFile = "[A-Z]:/pagefile.sys"
483 # These are programs and are easier to reinstall than restore from
485 WildDir = "[A-Z]:/cygwin"
486 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
487 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
489 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
490 WildDir = "[A-Z]:/Software Center"
492 WildDir = "[A-Z]:/Program Files/Grisoft"
493 WildDir = "[A-Z]:/Program Files/Java"
494 WildDir = "[A-Z]:/Program Files/Java Web Start"
495 WildDir = "[A-Z]:/Program Files/JavaSoft"
496 WildDir = "[A-Z]:/Program Files/Microsoft Office"
497 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
498 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
499 WildDir = "[A-Z]:/Program Files/mozilla.org"
500 WildDir = "[A-Z]:/Program Files/OpenOffice*"
502 File = <@tmpdir@/file-list
508 # When to do the backups, full backup on first sunday of the month,
509 # differential (i.e. incremental since full) every other sunday,
510 # and incremental backups other days
513 Run = Level=Full 1st sun at 1:05
514 Run = Level=Differential 2nd-5th sun at 1:05
515 Run = Level=Incremental mon-sat at 1:05
518 # This schedule does the catalog. It starts after the WeeklyCycle
520 Name = "WeeklyCycleAfterBackup"
521 Run = Level=Full sun-sat at 1:10
524 # This is the backup of the catalog
531 File = /home/kern/bacula/regress/bin/working/bacula.sql
535 # Client (File Services) to backup
541 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
542 File Retention = 30d # 30 days
543 Job Retention = 180d # six months
544 AutoPrune = yes # Prune expired Jobs/Files
545 Maximum Concurrent Jobs = 10
548 # Definiton of file storage device
551 Address = @hostname@ # N.B. Use a fully qualified name here
553 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
556 Maximum Concurrent Jobs = 10
557 Heartbeat Interval = 330
562 Address = @hostname@ # N.B. Use a fully qualified name here
564 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
565 Device = FileStorage1
567 Maximum Concurrent Jobs = 10
568 Heartbeat Interval = 330
573 Address = @hostname@ # N.B. Use a fully qualified name here
575 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
576 Device = FileStorage2
578 Maximum Concurrent Jobs = 10
579 Heartbeat Interval = 330
582 # Definition of DLT tape storage device
585 # Address = @hostname@ # N.B. Use a fully qualified name here
587 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
588 # Device = "HP DLT 80" # must be same as Device in Storage daemon
589 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
592 # Definition of DDS tape storage device
595 # Address = @hostname@ # N.B. Use a fully qualified name here
597 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
598 # Device = SDT-10000 # must be same as Device in Storage daemon
599 # Media Type = tape # must be same as MediaType in Storage daemon
602 # Definition of 8mm tape storage device
605 # Address = @hostname@ # N.B. Use a fully qualified name here
607 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
608 # Device = "Exabyte 8mm"
613 # Generic catalog service
617 dbname = @db_name@; user = @db_user@; password = "@db_password@"
620 # Reasonable message delivery -- send most everything to email address
624 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
625 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
626 # MailOnError = @job_email@ = all
627 # operator = @job_email@ = mount
628 console = all, !skipped, !terminate, !restored
630 # WARNING! the following will create a file that you must cycle from
631 # time to time as it will grow indefinitely. However, it will
632 # also keep all your messages if the scroll off the console.
634 append = "@working_dir@/log" = all, !skipped
635 catalog = all, !skipped
640 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
641 console = all, !skipped, !terminate
643 # WARNING! the following will create a file that you must cycle from
644 # time to time as it will grow indefinitely. However, it will
645 # also keep all your messages if the scroll off the console.
647 append = "@working_dir@/log" = all, !skipped
648 catalog = all, !skipped
652 # Default pool definition
656 Recycle = yes # Bacula can automatically recycle Volumes
657 AutoPrune = yes # Prune expired volumes
658 Volume Retention = 365d # one year
659 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
660 # Simple Label Format = "Backup-"
661 # Maximum Volume Jobs = 1
662 # Maximum Volume Bytes = 1500000