2 # Default Bacula Director Configuration file
4 # Tweeked for a bigger fileset for Aligned testing
7 Director { # define myself
9 DIRPort = @dirport@ # where we listen for UA connections
10 QueryFile = "@scriptdir@/query.sql"
11 WorkingDirectory = "@working_dir@"
12 PidDirectory = "@piddir@"
13 SubSysDirectory = "@subsysdir@"
14 PluginDirectory = "@sbindir@"
15 Maximum Concurrent Jobs = 4
16 Heartbeat Interval = 330
17 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
22 # Define the main nightly save backup job
23 # By default, this job will back up to disk in @tmpdir@
32 Write Bootstrap = "@working_dir@/NightlySave.bsr"
33 Maximum Concurrent Jobs = 10
36 Reschedule On Error = no
37 Reschedule Interval = 10
43 # Define the main nightly save backup job
44 # By default, this job will back up to disk in @tmpdir@
53 Write Bootstrap = "@working_dir@/NightlySave.bsr"
54 Maximum Concurrent Jobs = 10
66 Maximum Concurrent Jobs = 10
67 Write Bootstrap = "@working_dir@/NightlySave.bsr"
81 Write Bootstrap = "@working_dir@/NightlySave.bsr"
83 Maximum Concurrent Jobs = 10
88 Name = "MonsterFileSet"
91 FileSet="MonsterFileSet"
95 Maximum Concurrent Jobs = 10
96 Write Bootstrap = "@working_dir@/NightlySave.bsr"
104 Name = "VerifyVolume"
106 Level = VolumeToCatalog
112 Write Bootstrap = "@working_dir@/NightlySave.bsr"
125 Write Bootstrap = "@working_dir@/NightlySave.bsr"
138 Write Bootstrap = "@working_dir@/NightlySave.bsr"
141 Maximum Concurrent Jobs = 10
152 Write Bootstrap = "@working_dir@/NightlySave.bsr"
154 Maximum Concurrent Jobs = 10
158 Name = "CompressedTest"
161 FileSet="CompressedSet"
165 Maximum Concurrent Jobs = 10
166 Write Bootstrap = "@working_dir@/NightlySave.bsr"
172 Name = "HardlinkTest"
175 FileSet="HardlinkSet"
179 Maximum Concurrent Jobs = 10
180 Write Bootstrap = "@working_dir@/NightlySave.bsr"
186 Name = "SparseCompressedTest"
189 FileSet="SparseCompressedSet"
193 Write Bootstrap = "@working_dir@/NightlySave.bsr"
196 Maximum Concurrent Jobs = 10
207 Maximum Concurrent Jobs = 10
208 Write Bootstrap = "@working_dir@/NightlySave.bsr"
220 Maximum Concurrent Jobs = 10
221 Write Bootstrap = "@working_dir@/NightlySave.bsr"
227 Name = "SparseLZOTest"
230 FileSet="SparseLZOSet"
234 Write Bootstrap = "@working_dir@/NightlySave.bsr"
237 Maximum Concurrent Jobs = 10
248 Write Bootstrap = "@working_dir@/NightlySave.bsr"
249 ClientRunBeforeJob = "sleep 5"
255 # Backup the catalog database (after the nightly save)
257 Name = "BackupCatalog"
261 # Schedule = "WeeklyCycleAfterBackup"
265 # This creates an ASCII copy of the catalog
266 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
267 # This deletes the copy of the catalog
268 RunAfterJob = "@sbindir@/delete_catalog_backup"
269 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
284 JobDefs = "BackupJob"
285 Name = "bug621-job-1"
286 Client = @hostname@-fd
288 ClientRunBeforeJob = "sleep 5"
292 JobDefs = "BackupJob"
293 Name = "bug621-job-2"
294 Client = @hostname@-fd
301 # Standard Restore template, to be changed by Console program
303 Name = "RestoreFiles"
310 Where = @tmpdir@/bacula-restores
315 # List of files to be backed up
320 File = <@tmpdir@/file-list
324 # List of files to be backed up
332 File = <@tmpdir@/file-list
337 # List of files to be backed up
339 Name = "FSTypeFSEmpty"
345 File = <@tmpdir@/file-list
351 Include { Options { verify=s5 }
352 File = <@tmpdir@/file-list
354 Include { Options { sparse=yes }
355 File = <@tmpdir@/file-list
357 Include { Options { compression=GZIP }
358 File = <@tmpdir@/file-list
360 Include { Options { compression=LZO }
361 File = <@tmpdir@/file-list
363 Include { Options { compression=LZO; sparse=yes }
364 File = <@tmpdir@/file-list
366 Include { Options { compression=GZIP; sparse=yes }
367 File = <@tmpdir@/file-list
373 Include { Options { signature=MD5; verify=s5 }
374 File = <@tmpdir@/file-list
376 Include { Options { signature=MD5; sparse=yes }
377 File = <@tmpdir@/file-list
379 Include { Options { signature=MD5; compression=GZIP }
380 File = <@tmpdir@/file-list
382 Include { Options { signature=MD5; compression=LZO }
383 File = <@tmpdir@/file-list
385 Include { Options { signature=MD5; compression=LZO; sparse=yes }
386 File = <@tmpdir@/file-list
388 Include { Options { signature=MD5; compression=GZIP; sparse=yes }
389 File = <@tmpdir@/file-list
395 Include { Options { verify="nog"; signature=MD5 }
396 File = <@tmpdir@/file-list
398 Include { Options { signature=MD5; sparse=yes }
399 File = <@tmpdir@/file-list
401 Include { Options { signature=MD5; compression=GZIP }
402 File = <@tmpdir@/file-list
404 Include { Options { signature=MD5; compression=LZO }
405 File = <@tmpdir@/file-list
407 Include { Options { signature=MD5; compression=LZO; sparse=yes }
408 File = <@tmpdir@/file-list
410 Include { Options { signature=MD5; compression=GZIP; sparse=yes }
411 File = <@tmpdir@/file-list
417 Include { Options { verify=s1; signature=SHA1 }
418 File = <@tmpdir@/file-list
420 Include { Options { signature=SHA1; sparse=yes }
421 File = <@tmpdir@/file-list
423 Include { Options { signature=SHA1; compression=GZIP }
424 File = <@tmpdir@/file-list
426 Include { Options { signature=SHA1; compression=LZO }
427 File = <@tmpdir@/file-list
429 Include { Options { signature=SHA1; compression=LZO; sparse=yes }
430 File = <@tmpdir@/file-list
432 Include { Options { signature=SHA1; compression=GZIP; sparse=yes }
433 File = <@tmpdir@/file-list
440 Options { signature=MD5 }
441 File = <@tmpdir@/file-list
453 Plugin = "vsphere: host=@VSPHERE_HOST1@"
464 Plugin = "vsphere: host=@VSPHERE_HOST1@"
465 Plugin = "vsphere: host=@VSPHERE_HOST2@"
476 File = <@tmpdir@/file-list
481 Name = "CompressedSet"
488 File = <@tmpdir@/file-list
499 File = <@tmpdir@/file-list
510 File = <@tmpdir@/file-list
521 File = <@tmpdir@/file-list
532 File = <@tmpdir@/file-list
538 Name = "SparseCompressedSet"
545 File = <@tmpdir@/file-list
550 Name = "SparseLZOSet"
557 File = <@tmpdir@/file-list
562 Name = "MonsterFileSet"
570 RegexDir = "Windows Defender"
571 RegexDir = "Temporary Internet Files"
575 RegexDir = "ATI Technologies"
577 RegexDir = "wmdownloads"
578 RegexDir = "My Music"
582 RegexFile = "desktop.ini"
583 RegexFile = "thumbs.db"
584 RegexFile = "acrobat7.exe"
585 RegexFile = "acr6win.exe"
586 RegexFile = "AdbeRdr70_enu_full.exe"
587 RegexFile = "antivirus10_1_5.exe"
588 #thunderbird lock file
589 RegexFile = "parent.lock"
591 RegexDir = "Retrospect Restore Points"
593 #exclude i386 director of windows installer files
594 WildDir = "[A-Z]:/i386"
596 # Exclude Mozilla-based programs' file caches
597 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
598 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
600 # Exclude user's registry files - they're always in use anyway.
601 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
602 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
603 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
604 WildFile = "[A-Z]:/Users/*/ntuser.*"
606 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
607 WildDir = "[A-Z]:/Users/*/Recent"
609 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
610 WildDir = "[A-Z]:/Users/*/Local Settings/History"
612 # These are always open and unable to be backed up
613 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
614 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
616 #Exclude all of Windows...
617 WildDir = "[A-Z]:/windows"
618 WildDir = "[A-Z]:/winnt"
619 WildDir = "[A-Z]:/winxp"
620 WildDir = "[A-Z]:/win"
622 #symantec antivirus app stuff
623 WildDir = "[A-Z]:/*/Symantec*"
625 #system volume information
626 WildDir = "[A-Z]:/System Volume Information"
629 # ghost image and spanning files
634 WildDir = "[A-Z]:/RECYCLER"
635 WildDir = "[A-Z]:/RECYCLER"
636 WildDir = "[A-Z]:/RECYCLED"
637 WildDir = "[A-Z]:/$RECYCLE.BIN"
640 WildFile = "[A-Z]:/pagefile.sys"
642 # These are programs and are easier to reinstall than restore from
644 WildDir = "[A-Z]:/cygwin"
645 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
646 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
648 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
649 WildDir = "[A-Z]:/Software Center"
651 WildDir = "[A-Z]:/Program Files/Grisoft"
652 WildDir = "[A-Z]:/Program Files/Java"
653 WildDir = "[A-Z]:/Program Files/Java Web Start"
654 WildDir = "[A-Z]:/Program Files/JavaSoft"
655 WildDir = "[A-Z]:/Program Files/Microsoft Office"
656 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
657 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
658 WildDir = "[A-Z]:/Program Files/mozilla.org"
659 WildDir = "[A-Z]:/Program Files/OpenOffice*"
661 File = <@tmpdir@/file-list
667 # When to do the backups, full backup on first sunday of the month,
668 # differential (i.e. incremental since full) every other sunday,
669 # and incremental backups other days
672 Run = Level=Full 1st sun at 1:05
673 Run = Level=Differential 2nd-5th sun at 1:05
674 Run = Level=Incremental mon-sat at 1:05
677 # This schedule does the catalog. It starts after the WeeklyCycle
679 Name = "WeeklyCycleAfterBackup"
680 Run = Level=Full sun-sat at 1:10
683 # This is the backup of the catalog
690 File = /home/kern/bacula/regress/bin/working/bacula.sql
694 # Client (File Services) to backup
700 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
701 File Retention = 30d # 30 days
702 Job Retention = 180d # six months
703 AutoPrune = yes # Prune expired Jobs/Files
704 Maximum Concurrent Jobs = 10
707 # Definiton of file storage device
710 Address = @hostname@ # N.B. Use a fully qualified name here
712 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
715 Maximum Concurrent Jobs = 10
716 Heartbeat Interval = 330
721 Address = @hostname@ # N.B. Use a fully qualified name here
723 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
724 Device = FileStorage1
726 Maximum Concurrent Jobs = 10
727 Heartbeat Interval = 330
732 Address = @hostname@ # N.B. Use a fully qualified name here
734 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
735 Device = FileStorage2
737 Maximum Concurrent Jobs = 10
738 Heartbeat Interval = 330
741 # Definition of DLT tape storage device
744 # Address = @hostname@ # N.B. Use a fully qualified name here
746 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
747 # Device = "HP DLT 80" # must be same as Device in Storage daemon
748 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
751 # Definition of DDS tape storage device
754 # Address = @hostname@ # N.B. Use a fully qualified name here
756 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
757 # Device = SDT-10000 # must be same as Device in Storage daemon
758 # Media Type = tape # must be same as MediaType in Storage daemon
761 # Definition of 8mm tape storage device
764 # Address = @hostname@ # N.B. Use a fully qualified name here
766 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
767 # Device = "Exabyte 8mm"
772 # Generic catalog service
776 dbname = @db_name@; user = @db_user@; password = "@db_password@"
779 # Reasonable message delivery -- send most everything to email address
783 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
784 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
785 # MailOnError = @job_email@ = all
786 # operator = @job_email@ = mount
787 console = all, !skipped, !terminate, !restored
789 # WARNING! the following will create a file that you must cycle from
790 # time to time as it will grow indefinitely. However, it will
791 # also keep all your messages if the scroll off the console.
793 append = "@working_dir@/log" = all, !skipped
794 catalog = all, !skipped
799 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
800 console = all, !skipped, !terminate
802 # WARNING! the following will create a file that you must cycle from
803 # time to time as it will grow indefinitely. However, it will
804 # also keep all your messages if the scroll off the console.
806 append = "@working_dir@/log" = all, !skipped
807 catalog = all, !skipped
811 # Default pool definition
815 Recycle = yes # Bacula can automatically recycle Volumes
816 AutoPrune = yes # Prune expired volumes
817 Volume Retention = 365d # one year
818 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
819 # Simple Label Format = "Backup-"
820 # Maximum Volume Jobs = 1
821 # Maximum Volume Bytes = 1500000