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"
129 Write Bootstrap = "@working_dir@/NightlySave.bsr"
132 Maximum Concurrent Jobs = 10
143 Write Bootstrap = "@working_dir@/NightlySave.bsr"
145 Maximum Concurrent Jobs = 10
149 Name = "CompressedTest"
152 FileSet="CompressedSet"
156 Maximum Concurrent Jobs = 10
157 Write Bootstrap = "@working_dir@/NightlySave.bsr"
163 Name = "SparseCompressedTest"
166 FileSet="SparseCompressedSet"
170 Write Bootstrap = "@working_dir@/NightlySave.bsr"
173 Maximum Concurrent Jobs = 10
184 Maximum Concurrent Jobs = 10
185 Write Bootstrap = "@working_dir@/NightlySave.bsr"
197 Maximum Concurrent Jobs = 10
198 Write Bootstrap = "@working_dir@/NightlySave.bsr"
204 Name = "SparseLZOTest"
207 FileSet="SparseLZOSet"
211 Write Bootstrap = "@working_dir@/NightlySave.bsr"
214 Maximum Concurrent Jobs = 10
225 Write Bootstrap = "@working_dir@/NightlySave.bsr"
226 ClientRunBeforeJob = "sleep 5"
232 # Backup the catalog database (after the nightly save)
234 Name = "BackupCatalog"
238 # Schedule = "WeeklyCycleAfterBackup"
242 # This creates an ASCII copy of the catalog
243 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
244 # This deletes the copy of the catalog
245 RunAfterJob = "@sbindir@/delete_catalog_backup"
246 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
261 JobDefs = "BackupJob"
262 Name = "bug621-job-1"
263 Client = @hostname@-fd
265 ClientRunBeforeJob = "sleep 5"
269 JobDefs = "BackupJob"
270 Name = "bug621-job-2"
271 Client = @hostname@-fd
278 # Standard Restore template, to be changed by Console program
280 Name = "RestoreFiles"
287 Where = @tmpdir@/bacula-restores
292 # List of files to be backed up
296 Options { signature=MD5; sparse=yes;
298 File = <@tmpdir@/file-list
304 Include { Options { verify=s5 }
305 File = <@tmpdir@/file-list
307 Include { Options { sparse=yes }
308 File = <@tmpdir@/file-list
310 Include { Options { compression=GZIP }
311 File = <@tmpdir@/file-list
313 Include { Options { compression=LZO }
314 File = <@tmpdir@/file-list
316 Include { Options { compression=LZO; sparse=yes }
317 File = <@tmpdir@/file-list
319 Include { Options { compression=GZIP; sparse=yes }
320 File = <@tmpdir@/file-list
326 Include { Options { signature=MD5; verify=s5 }
327 File = <@tmpdir@/file-list
329 Include { Options { signature=MD5; sparse=yes }
330 File = <@tmpdir@/file-list
332 Include { Options { signature=MD5; compression=GZIP }
333 File = <@tmpdir@/file-list
335 Include { Options { signature=MD5; compression=LZO }
336 File = <@tmpdir@/file-list
338 Include { Options { signature=MD5; compression=LZO; sparse=yes }
339 File = <@tmpdir@/file-list
341 Include { Options { signature=MD5; compression=GZIP; sparse=yes }
342 File = <@tmpdir@/file-list
348 Include { Options { verify="nog"; signature=MD5 }
349 File = <@tmpdir@/file-list
351 Include { Options { signature=MD5; sparse=yes }
352 File = <@tmpdir@/file-list
354 Include { Options { signature=MD5; compression=GZIP }
355 File = <@tmpdir@/file-list
357 Include { Options { signature=MD5; compression=LZO }
358 File = <@tmpdir@/file-list
360 Include { Options { signature=MD5; compression=LZO; sparse=yes }
361 File = <@tmpdir@/file-list
363 Include { Options { signature=MD5; compression=GZIP; sparse=yes }
364 File = <@tmpdir@/file-list
370 Include { Options { verify=s1; signature=SHA1 }
371 File = <@tmpdir@/file-list
373 Include { Options { signature=SHA1; sparse=yes }
374 File = <@tmpdir@/file-list
376 Include { Options { signature=SHA1; compression=GZIP }
377 File = <@tmpdir@/file-list
379 Include { Options { signature=SHA1; compression=LZO }
380 File = <@tmpdir@/file-list
382 Include { Options { signature=SHA1; compression=LZO; sparse=yes }
383 File = <@tmpdir@/file-list
385 Include { Options { signature=SHA1; compression=GZIP; sparse=yes }
386 File = <@tmpdir@/file-list
393 Options { signature=MD5 }
394 File = <@tmpdir@/file-list
406 Plugin = "vsphere: host=@VSPHERE_HOST1@"
417 Plugin = "vsphere: host=@VSPHERE_HOST1@"
418 Plugin = "vsphere: host=@VSPHERE_HOST2@"
429 File = <@tmpdir@/file-list
434 Name = "CompressedSet"
441 File = <@tmpdir@/file-list
452 File = <@tmpdir@/file-list
463 File = <@tmpdir@/file-list
474 File = <@tmpdir@/file-list
480 Name = "SparseCompressedSet"
487 File = <@tmpdir@/file-list
492 Name = "SparseLZOSet"
499 File = <@tmpdir@/file-list
504 Name = "MonsterFileSet"
512 RegexDir = "Windows Defender"
513 RegexDir = "Temporary Internet Files"
517 RegexDir = "ATI Technologies"
519 RegexDir = "wmdownloads"
520 RegexDir = "My Music"
524 RegexFile = "desktop.ini"
525 RegexFile = "thumbs.db"
526 RegexFile = "acrobat7.exe"
527 RegexFile = "acr6win.exe"
528 RegexFile = "AdbeRdr70_enu_full.exe"
529 RegexFile = "antivirus10_1_5.exe"
530 #thunderbird lock file
531 RegexFile = "parent.lock"
533 RegexDir = "Retrospect Restore Points"
535 #exclude i386 director of windows installer files
536 WildDir = "[A-Z]:/i386"
538 # Exclude Mozilla-based programs' file caches
539 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
540 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
542 # Exclude user's registry files - they're always in use anyway.
543 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
544 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
545 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
546 WildFile = "[A-Z]:/Users/*/ntuser.*"
548 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
549 WildDir = "[A-Z]:/Users/*/Recent"
551 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
552 WildDir = "[A-Z]:/Users/*/Local Settings/History"
554 # These are always open and unable to be backed up
555 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
556 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
558 #Exclude all of Windows...
559 WildDir = "[A-Z]:/windows"
560 WildDir = "[A-Z]:/winnt"
561 WildDir = "[A-Z]:/winxp"
562 WildDir = "[A-Z]:/win"
564 #symantec antivirus app stuff
565 WildDir = "[A-Z]:/*/Symantec*"
567 #system volume information
568 WildDir = "[A-Z]:/System Volume Information"
571 # ghost image and spanning files
576 WildDir = "[A-Z]:/RECYCLER"
577 WildDir = "[A-Z]:/RECYCLER"
578 WildDir = "[A-Z]:/RECYCLED"
579 WildDir = "[A-Z]:/$RECYCLE.BIN"
582 WildFile = "[A-Z]:/pagefile.sys"
584 # These are programs and are easier to reinstall than restore from
586 WildDir = "[A-Z]:/cygwin"
587 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
588 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
590 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
591 WildDir = "[A-Z]:/Software Center"
593 WildDir = "[A-Z]:/Program Files/Grisoft"
594 WildDir = "[A-Z]:/Program Files/Java"
595 WildDir = "[A-Z]:/Program Files/Java Web Start"
596 WildDir = "[A-Z]:/Program Files/JavaSoft"
597 WildDir = "[A-Z]:/Program Files/Microsoft Office"
598 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
599 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
600 WildDir = "[A-Z]:/Program Files/mozilla.org"
601 WildDir = "[A-Z]:/Program Files/OpenOffice*"
603 File = <@tmpdir@/file-list
609 # When to do the backups, full backup on first sunday of the month,
610 # differential (i.e. incremental since full) every other sunday,
611 # and incremental backups other days
614 Run = Level=Full 1st sun at 1:05
615 Run = Level=Differential 2nd-5th sun at 1:05
616 Run = Level=Incremental mon-sat at 1:05
619 # This schedule does the catalog. It starts after the WeeklyCycle
621 Name = "WeeklyCycleAfterBackup"
622 Run = Level=Full sun-sat at 1:10
625 # This is the backup of the catalog
632 File = /home/kern/bacula/regress/bin/working/bacula.sql
636 # Client (File Services) to backup
642 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
643 File Retention = 30d # 30 days
644 Job Retention = 180d # six months
645 AutoPrune = yes # Prune expired Jobs/Files
646 Maximum Concurrent Jobs = 10
649 # Definiton of file storage device
652 Address = @hostname@ # N.B. Use a fully qualified name here
654 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
657 Maximum Concurrent Jobs = 10
658 Heartbeat Interval = 330
663 Address = @hostname@ # N.B. Use a fully qualified name here
665 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
666 Device = FileStorage1
668 Maximum Concurrent Jobs = 10
669 Heartbeat Interval = 330
674 Address = @hostname@ # N.B. Use a fully qualified name here
676 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
677 Device = FileStorage2
679 Maximum Concurrent Jobs = 10
680 Heartbeat Interval = 330
683 # Definition of DLT tape storage device
686 # Address = @hostname@ # N.B. Use a fully qualified name here
688 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
689 # Device = "HP DLT 80" # must be same as Device in Storage daemon
690 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
693 # Definition of DDS tape storage device
696 # Address = @hostname@ # N.B. Use a fully qualified name here
698 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
699 # Device = SDT-10000 # must be same as Device in Storage daemon
700 # Media Type = tape # must be same as MediaType in Storage daemon
703 # Definition of 8mm tape storage device
706 # Address = @hostname@ # N.B. Use a fully qualified name here
708 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
709 # Device = "Exabyte 8mm"
714 # Generic catalog service
718 dbname = @db_name@; user = @db_user@; password = "@db_password@"
721 # Reasonable message delivery -- send most everything to email address
725 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
726 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
727 # MailOnError = @job_email@ = all
728 # operator = @job_email@ = mount
729 console = all, !skipped, !terminate, !restored
731 # WARNING! the following will create a file that you must cycle from
732 # time to time as it will grow indefinitely. However, it will
733 # also keep all your messages if the scroll off the console.
735 append = "@working_dir@/log" = all, !skipped
736 catalog = all, !skipped
741 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
742 console = all, !skipped, !terminate
744 # WARNING! the following will create a file that you must cycle from
745 # time to time as it will grow indefinitely. However, it will
746 # also keep all your messages if the scroll off the console.
748 append = "@working_dir@/log" = all, !skipped
749 catalog = all, !skipped
753 # Default pool definition
757 Recycle = yes # Bacula can automatically recycle Volumes
758 AutoPrune = yes # Prune expired volumes
759 Volume Retention = 365d # one year
760 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
761 # Simple Label Format = "Backup-"
762 # Maximum Volume Jobs = 1
763 # Maximum Volume Bytes = 1500000