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@/plugins"
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 = 4
52 Write Bootstrap = "@working_dir@/NightlySave.bsr"
56 Name = "MonsterFileSet"
59 FileSet="MonsterFileSet"
63 Maximum Concurrent Jobs = 4
64 Write Bootstrap = "@working_dir@/NightlySave.bsr"
72 Level = VolumeToCatalog
78 Write Bootstrap = "@working_dir@/NightlySave.bsr"
90 Write Bootstrap = "@working_dir@/NightlySave.bsr"
94 Name = "CompressedTest"
97 FileSet="CompressedSet"
101 Maximum Concurrent Jobs = 4
102 Write Bootstrap = "@working_dir@/NightlySave.bsr"
106 Name = "SparseCompressedTest"
109 FileSet="SparseCompressedSet"
113 Write Bootstrap = "@working_dir@/NightlySave.bsr"
124 Write Bootstrap = "@working_dir@/NightlySave.bsr"
128 Name = "TestPluginTest"
131 FileSet="TestPluginSet"
135 Write Bootstrap = "@working_dir@/NightlySave.bsr"
139 # Backup the catalog database (after the nightly save)
141 Name = "BackupCatalog"
145 # Schedule = "WeeklyCycleAfterBackup"
149 # This creates an ASCII copy of the catalog
150 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
151 # This deletes the copy of the catalog
152 RunAfterJob = "@sbindir@/delete_catalog_backup"
153 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
166 JobDefs = "BackupJob"
167 Name = "bug621-job-1"
168 Client = @hostname@-fd
170 ClientRunBeforeJob = "/bin/sleep 5"
174 JobDefs = "BackupJob"
175 Name = "bug621-job-2"
176 Client = @hostname@-fd
183 # Standard Restore template, to be changed by Console program
185 Name = "RestoreFiles"
192 Where = @tmpdir@/bacula-restores
196 # List of files to be backed up
200 Options { signature=MD5; sparse=yes }
201 File = <@tmpdir@/file-list
212 File = <@tmpdir@/file-list
217 Name = "CompressedSet"
223 File = <@tmpdir@/file-list
234 File = <@tmpdir@/file-list
235 Plugin = "bpipe:/@bpipe@/encrypt-bug.jpg:cat @builddir@/../encrypt-bug.jpg:cat >@tmpdir@/encrypt-bug.jpg"
236 Plugin = "bpipe:/@bpipe@/Makefile:cat @builddir@/../Makefile:cat >@tmpdir@/Makefile"
241 Name = "TestPluginSet"
247 File = <@tmpdir@/file-list
248 Plugin = "test-plugin:/@test-plugin@/encrypt-bug.jpg:cat @builddir@/../encrypt-bug.jpg:cat >@tmpdir@/encrypt-bug.jpg"
249 Plugin = "test-plugin:/@test-plugin@/Makefile:cat @builddir@/../Makefile:cat >@tmpdir@/Makefile"
256 Name = "SparseCompressedSet"
263 File = <@tmpdir@/file-list
268 Name = "MonsterFileSet"
276 RegexDir = "Windows Defender"
277 RegexDir = "Temporary Internet Files"
281 RegexDir = "ATI Technologies"
283 RegexDir = "wmdownloads"
284 RegexDir = "My Music"
288 RegexFile = "desktop.ini"
289 RegexFile = "thumbs.db"
290 RegexFile = "acrobat7.exe"
291 RegexFile = "acr6win.exe"
292 RegexFile = "AdbeRdr70_enu_full.exe"
293 RegexFile = "antivirus10_1_5.exe"
294 #thunderbird lock file
295 RegexFile = "parent.lock"
297 RegexDir = "Retrospect Restore Points"
299 #exclude i386 director of windows installer files
300 WildDir = "[A-Z]:/i386"
302 # Exclude Mozilla-based programs' file caches
303 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
304 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
306 # Exclude user's registry files - they're always in use anyway.
307 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
308 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
309 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
310 WildFile = "[A-Z]:/Users/*/ntuser.*"
312 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
313 WildDir = "[A-Z]:/Users/*/Recent"
315 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
316 WildDir = "[A-Z]:/Users/*/Local Settings/History"
318 # These are always open and unable to be backed up
319 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
320 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
322 #Exclude all of Windows...
323 WildDir = "[A-Z]:/windows"
324 WildDir = "[A-Z]:/winnt"
325 WildDir = "[A-Z]:/winxp"
326 WildDir = "[A-Z]:/win"
328 #symantec antivirus app stuff
329 WildDir = "[A-Z]:/*/Symantec*"
331 #system volume information
332 WildDir = "[A-Z]:/System Volume Information"
335 # ghost image and spanning files
340 WildDir = "[A-Z]:/RECYCLER"
341 WildDir = "[A-Z]:/RECYCLER"
342 WildDir = "[A-Z]:/RECYCLED"
343 WildDir = "[A-Z]:/$RECYCLE.BIN"
346 WildFile = "[A-Z]:/pagefile.sys"
348 # These are programs and are easier to reinstall than restore from
350 WildDir = "[A-Z]:/cygwin"
351 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
352 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
354 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
355 WildDir = "[A-Z]:/Software Center"
357 WildDir = "[A-Z]:/Program Files/Grisoft"
358 WildDir = "[A-Z]:/Program Files/Java"
359 WildDir = "[A-Z]:/Program Files/Java Web Start"
360 WildDir = "[A-Z]:/Program Files/JavaSoft"
361 WildDir = "[A-Z]:/Program Files/Microsoft Office"
362 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
363 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
364 WildDir = "[A-Z]:/Program Files/mozilla.org"
365 WildDir = "[A-Z]:/Program Files/OpenOffice*"
367 File = <@tmpdir@/file-list
373 # When to do the backups, full backup on first sunday of the month,
374 # differential (i.e. incremental since full) every other sunday,
375 # and incremental backups other days
378 Run = Level=Full 1st sun at 1:05
379 Run = Level=Differential 2nd-5th sun at 1:05
380 Run = Level=Incremental mon-sat at 1:05
383 # This schedule does the catalog. It starts after the WeeklyCycle
385 Name = "WeeklyCycleAfterBackup"
386 Run = Level=Full sun-sat at 1:10
389 # This is the backup of the catalog
396 File = /home/kern/bacula/regress/bin/working/bacula.sql
400 # Client (File Services) to backup
406 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
407 File Retention = 30d # 30 days
408 Job Retention = 180d # six months
409 AutoPrune = yes # Prune expired Jobs/Files
410 Maximum Concurrent Jobs = 4
413 # Definiton of file storage device
416 Address = @hostname@ # N.B. Use a fully qualified name here
418 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
421 Maximum Concurrent Jobs = 4
426 Address = @hostname@ # N.B. Use a fully qualified name here
428 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
429 Device = FileStorage1
431 Maximum Concurrent Jobs = 4
435 # Definition of DLT tape storage device
438 # Address = @hostname@ # N.B. Use a fully qualified name here
440 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
441 # Device = "HP DLT 80" # must be same as Device in Storage daemon
442 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
445 # Definition of DDS tape storage device
448 # Address = @hostname@ # N.B. Use a fully qualified name here
450 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
451 # Device = SDT-10000 # must be same as Device in Storage daemon
452 # Media Type = tape # must be same as MediaType in Storage daemon
455 # Definition of 8mm tape storage device
458 # Address = @hostname@ # N.B. Use a fully qualified name here
460 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
461 # Device = "Exabyte 8mm"
466 # Generic catalog service
470 dbname = @db_name@; user = @db_user@; password = "@db_password@"
473 # Reasonable message delivery -- send most everything to email address
477 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
478 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
479 # MailOnError = @job_email@ = all
480 # operator = @job_email@ = mount
481 console = all, !skipped, !terminate, !restored
483 # WARNING! the following will create a file that you must cycle from
484 # time to time as it will grow indefinitely. However, it will
485 # also keep all your messages if the scroll off the console.
487 append = "@working_dir@/log" = all, !skipped
488 catalog = all, !skipped
493 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
494 console = all, !skipped, !terminate
496 # WARNING! the following will create a file that you must cycle from
497 # time to time as it will grow indefinitely. However, it will
498 # also keep all your messages if the scroll off the console.
500 append = "@working_dir@/log" = all, !skipped
501 catalog = all, !skipped
505 # Default pool definition
509 Recycle = yes # Bacula can automatically recycle Volumes
510 AutoPrune = yes # Prune expired volumes
511 Volume Retention = 365d # one year
512 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
513 # Maximum Volume Jobs = 1