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 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
29 # Define the main nightly save backup job
30 # By default, this job will back up to disk in @tmpdir@
39 Write Bootstrap = "@working_dir@/NightlySave.bsr"
40 Maximum Concurrent Jobs = 10
43 Reschedule On Error = no
44 Reschedule Interval = 10
56 Write Bootstrap = "@working_dir@/NightlySave.bsr"
58 Maximum Concurrent Jobs = 10
63 Name = "MonsterFileSet"
66 FileSet="MonsterFileSet"
70 Maximum Concurrent Jobs = 10
71 Write Bootstrap = "@working_dir@/NightlySave.bsr"
81 Level = VolumeToCatalog
87 Write Bootstrap = "@working_dir@/NightlySave.bsr"
100 Write Bootstrap = "@working_dir@/NightlySave.bsr"
103 Maximum Concurrent Jobs = 10
107 Name = "CompressedTest"
110 FileSet="CompressedSet"
114 Maximum Concurrent Jobs = 10
115 Write Bootstrap = "@working_dir@/NightlySave.bsr"
121 Name = "SparseCompressedTest"
124 FileSet="SparseCompressedSet"
128 Write Bootstrap = "@working_dir@/NightlySave.bsr"
131 Maximum Concurrent Jobs = 10
142 Maximum Concurrent Jobs = 10
143 Write Bootstrap = "@working_dir@/NightlySave.bsr"
149 Name = "SparseLZOTest"
152 FileSet="SparseLZOSet"
156 Write Bootstrap = "@working_dir@/NightlySave.bsr"
159 Maximum Concurrent Jobs = 10
170 Write Bootstrap = "@working_dir@/NightlySave.bsr"
171 ClientRunBeforeJob = "/bin/sleep 5"
177 # Backup the catalog database (after the nightly save)
179 Name = "BackupCatalog"
183 # Schedule = "WeeklyCycleAfterBackup"
187 # This creates an ASCII copy of the catalog
188 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
189 # This deletes the copy of the catalog
190 RunAfterJob = "@sbindir@/delete_catalog_backup"
191 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
206 JobDefs = "BackupJob"
207 Name = "bug621-job-1"
208 Client = @hostname@-fd
210 ClientRunBeforeJob = "/bin/sleep 5"
214 JobDefs = "BackupJob"
215 Name = "bug621-job-2"
216 Client = @hostname@-fd
223 # Standard Restore template, to be changed by Console program
225 Name = "RestoreFiles"
232 Where = @tmpdir@/bacula-restores
237 # List of files to be backed up
241 Options { signature=MD5; sparse=yes;
243 File = <@tmpdir@/file-list
254 File = <@tmpdir@/file-list
259 Name = "CompressedSet"
265 File = <@tmpdir@/file-list
276 File = <@tmpdir@/file-list
287 File = <@tmpdir@/file-list
293 Name = "SparseCompressedSet"
300 File = <@tmpdir@/file-list
305 Name = "SparseLZOSet"
312 File = <@tmpdir@/file-list
317 Name = "MonsterFileSet"
325 RegexDir = "Windows Defender"
326 RegexDir = "Temporary Internet Files"
330 RegexDir = "ATI Technologies"
332 RegexDir = "wmdownloads"
333 RegexDir = "My Music"
337 RegexFile = "desktop.ini"
338 RegexFile = "thumbs.db"
339 RegexFile = "acrobat7.exe"
340 RegexFile = "acr6win.exe"
341 RegexFile = "AdbeRdr70_enu_full.exe"
342 RegexFile = "antivirus10_1_5.exe"
343 #thunderbird lock file
344 RegexFile = "parent.lock"
346 RegexDir = "Retrospect Restore Points"
348 #exclude i386 director of windows installer files
349 WildDir = "[A-Z]:/i386"
351 # Exclude Mozilla-based programs' file caches
352 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
353 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
355 # Exclude user's registry files - they're always in use anyway.
356 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
357 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
358 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
359 WildFile = "[A-Z]:/Users/*/ntuser.*"
361 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
362 WildDir = "[A-Z]:/Users/*/Recent"
364 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
365 WildDir = "[A-Z]:/Users/*/Local Settings/History"
367 # These are always open and unable to be backed up
368 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
369 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
371 #Exclude all of Windows...
372 WildDir = "[A-Z]:/windows"
373 WildDir = "[A-Z]:/winnt"
374 WildDir = "[A-Z]:/winxp"
375 WildDir = "[A-Z]:/win"
377 #symantec antivirus app stuff
378 WildDir = "[A-Z]:/*/Symantec*"
380 #system volume information
381 WildDir = "[A-Z]:/System Volume Information"
384 # ghost image and spanning files
389 WildDir = "[A-Z]:/RECYCLER"
390 WildDir = "[A-Z]:/RECYCLER"
391 WildDir = "[A-Z]:/RECYCLED"
392 WildDir = "[A-Z]:/$RECYCLE.BIN"
395 WildFile = "[A-Z]:/pagefile.sys"
397 # These are programs and are easier to reinstall than restore from
399 WildDir = "[A-Z]:/cygwin"
400 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
401 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
403 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
404 WildDir = "[A-Z]:/Software Center"
406 WildDir = "[A-Z]:/Program Files/Grisoft"
407 WildDir = "[A-Z]:/Program Files/Java"
408 WildDir = "[A-Z]:/Program Files/Java Web Start"
409 WildDir = "[A-Z]:/Program Files/JavaSoft"
410 WildDir = "[A-Z]:/Program Files/Microsoft Office"
411 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
412 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
413 WildDir = "[A-Z]:/Program Files/mozilla.org"
414 WildDir = "[A-Z]:/Program Files/OpenOffice*"
416 File = <@tmpdir@/file-list
422 # When to do the backups, full backup on first sunday of the month,
423 # differential (i.e. incremental since full) every other sunday,
424 # and incremental backups other days
427 Run = Level=Full 1st sun at 1:05
428 Run = Level=Differential 2nd-5th sun at 1:05
429 Run = Level=Incremental mon-sat at 1:05
432 # This schedule does the catalog. It starts after the WeeklyCycle
434 Name = "WeeklyCycleAfterBackup"
435 Run = Level=Full sun-sat at 1:10
438 # This is the backup of the catalog
445 File = /home/kern/bacula/regress/bin/working/bacula.sql
449 # Client (File Services) to backup
455 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
456 File Retention = 30d # 30 days
457 Job Retention = 180d # six months
458 AutoPrune = yes # Prune expired Jobs/Files
459 Maximum Concurrent Jobs = 10
462 # Definiton of file storage device
465 Address = @hostname@ # N.B. Use a fully qualified name here
467 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
470 Maximum Concurrent Jobs = 10
475 Address = @hostname@ # N.B. Use a fully qualified name here
477 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
478 Device = FileStorage1
480 Maximum Concurrent Jobs = 10
484 # Definition of DLT tape storage device
487 # Address = @hostname@ # N.B. Use a fully qualified name here
489 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
490 # Device = "HP DLT 80" # must be same as Device in Storage daemon
491 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
494 # Definition of DDS tape storage device
497 # Address = @hostname@ # N.B. Use a fully qualified name here
499 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
500 # Device = SDT-10000 # must be same as Device in Storage daemon
501 # Media Type = tape # must be same as MediaType in Storage daemon
504 # Definition of 8mm tape storage device
507 # Address = @hostname@ # N.B. Use a fully qualified name here
509 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
510 # Device = "Exabyte 8mm"
515 # Generic catalog service
519 dbname = @db_name@; user = @db_user@; password = "@db_password@"
522 # Reasonable message delivery -- send most everything to email address
526 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
527 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
528 # MailOnError = @job_email@ = all
529 # operator = @job_email@ = mount
530 console = all, !skipped, !terminate, !restored
532 # WARNING! the following will create a file that you must cycle from
533 # time to time as it will grow indefinitely. However, it will
534 # also keep all your messages if the scroll off the console.
536 append = "@working_dir@/log" = all, !skipped
537 catalog = all, !skipped
542 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
543 console = all, !skipped, !terminate
545 # WARNING! the following will create a file that you must cycle from
546 # time to time as it will grow indefinitely. However, it will
547 # also keep all your messages if the scroll off the console.
549 append = "@working_dir@/log" = all, !skipped
550 catalog = all, !skipped
554 # Default pool definition
558 Recycle = yes # Bacula can automatically recycle Volumes
559 AutoPrune = yes # Prune expired volumes
560 Volume Retention = 365d # one year
561 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
562 # Simple Label Format = "Backup-"
563 # Maximum Volume Jobs = 1
564 # Maximum Volume Bytes = 512000