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
53 Write Bootstrap = "@working_dir@/NightlySave.bsr"
55 Maximum Concurrent Jobs = 10
60 Name = "MonsterFileSet"
63 FileSet="MonsterFileSet"
67 Maximum Concurrent Jobs = 10
68 Write Bootstrap = "@working_dir@/NightlySave.bsr"
78 Level = VolumeToCatalog
84 Write Bootstrap = "@working_dir@/NightlySave.bsr"
97 Write Bootstrap = "@working_dir@/NightlySave.bsr"
100 Maximum Concurrent Jobs = 10
104 Name = "CompressedTest"
107 FileSet="CompressedSet"
111 Maximum Concurrent Jobs = 10
112 Write Bootstrap = "@working_dir@/NightlySave.bsr"
118 Name = "SparseCompressedTest"
121 FileSet="SparseCompressedSet"
125 Write Bootstrap = "@working_dir@/NightlySave.bsr"
128 Maximum Concurrent Jobs = 10
139 Write Bootstrap = "@working_dir@/NightlySave.bsr"
140 ClientRunBeforeJob = "/bin/sleep 5"
146 # Backup the catalog database (after the nightly save)
148 Name = "BackupCatalog"
152 # Schedule = "WeeklyCycleAfterBackup"
156 # This creates an ASCII copy of the catalog
157 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
158 # This deletes the copy of the catalog
159 RunAfterJob = "@sbindir@/delete_catalog_backup"
160 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
175 JobDefs = "BackupJob"
176 Name = "bug621-job-1"
177 Client = @hostname@-fd
179 ClientRunBeforeJob = "/bin/sleep 5"
183 JobDefs = "BackupJob"
184 Name = "bug621-job-2"
185 Client = @hostname@-fd
192 # Standard Restore template, to be changed by Console program
194 Name = "RestoreFiles"
201 Where = @tmpdir@/bacula-restores
206 # List of files to be backed up
210 Options { signature=MD5; sparse=yes;
212 File = <@tmpdir@/file-list
223 File = <@tmpdir@/file-list
228 Name = "CompressedSet"
234 File = <@tmpdir@/file-list
245 File = <@tmpdir@/file-list
251 Name = "SparseCompressedSet"
258 File = <@tmpdir@/file-list
263 Name = "MonsterFileSet"
271 RegexDir = "Windows Defender"
272 RegexDir = "Temporary Internet Files"
276 RegexDir = "ATI Technologies"
278 RegexDir = "wmdownloads"
279 RegexDir = "My Music"
283 RegexFile = "desktop.ini"
284 RegexFile = "thumbs.db"
285 RegexFile = "acrobat7.exe"
286 RegexFile = "acr6win.exe"
287 RegexFile = "AdbeRdr70_enu_full.exe"
288 RegexFile = "antivirus10_1_5.exe"
289 #thunderbird lock file
290 RegexFile = "parent.lock"
292 RegexDir = "Retrospect Restore Points"
294 #exclude i386 director of windows installer files
295 WildDir = "[A-Z]:/i386"
297 # Exclude Mozilla-based programs' file caches
298 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
299 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
301 # Exclude user's registry files - they're always in use anyway.
302 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
303 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
304 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
305 WildFile = "[A-Z]:/Users/*/ntuser.*"
307 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
308 WildDir = "[A-Z]:/Users/*/Recent"
310 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
311 WildDir = "[A-Z]:/Users/*/Local Settings/History"
313 # These are always open and unable to be backed up
314 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
315 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
317 #Exclude all of Windows...
318 WildDir = "[A-Z]:/windows"
319 WildDir = "[A-Z]:/winnt"
320 WildDir = "[A-Z]:/winxp"
321 WildDir = "[A-Z]:/win"
323 #symantec antivirus app stuff
324 WildDir = "[A-Z]:/*/Symantec*"
326 #system volume information
327 WildDir = "[A-Z]:/System Volume Information"
330 # ghost image and spanning files
335 WildDir = "[A-Z]:/RECYCLER"
336 WildDir = "[A-Z]:/RECYCLER"
337 WildDir = "[A-Z]:/RECYCLED"
338 WildDir = "[A-Z]:/$RECYCLE.BIN"
341 WildFile = "[A-Z]:/pagefile.sys"
343 # These are programs and are easier to reinstall than restore from
345 WildDir = "[A-Z]:/cygwin"
346 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
347 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
349 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
350 WildDir = "[A-Z]:/Software Center"
352 WildDir = "[A-Z]:/Program Files/Grisoft"
353 WildDir = "[A-Z]:/Program Files/Java"
354 WildDir = "[A-Z]:/Program Files/Java Web Start"
355 WildDir = "[A-Z]:/Program Files/JavaSoft"
356 WildDir = "[A-Z]:/Program Files/Microsoft Office"
357 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
358 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
359 WildDir = "[A-Z]:/Program Files/mozilla.org"
360 WildDir = "[A-Z]:/Program Files/OpenOffice*"
362 File = <@tmpdir@/file-list
368 # When to do the backups, full backup on first sunday of the month,
369 # differential (i.e. incremental since full) every other sunday,
370 # and incremental backups other days
373 Run = Level=Full 1st sun at 1:05
374 Run = Level=Differential 2nd-5th sun at 1:05
375 Run = Level=Incremental mon-sat at 1:05
378 # This schedule does the catalog. It starts after the WeeklyCycle
380 Name = "WeeklyCycleAfterBackup"
381 Run = Level=Full sun-sat at 1:10
384 # This is the backup of the catalog
391 File = /home/kern/bacula/regress/bin/working/bacula.sql
395 # Client (File Services) to backup
401 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
402 File Retention = 30d # 30 days
403 Job Retention = 180d # six months
404 AutoPrune = yes # Prune expired Jobs/Files
405 Maximum Concurrent Jobs = 10
408 # Definiton of file storage device
411 Address = @hostname@ # N.B. Use a fully qualified name here
413 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
416 Maximum Concurrent Jobs = 10
421 Address = @hostname@ # N.B. Use a fully qualified name here
423 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
424 Device = FileStorage1
426 Maximum Concurrent Jobs = 10
430 # Definition of DLT tape storage device
433 # Address = @hostname@ # N.B. Use a fully qualified name here
435 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
436 # Device = "HP DLT 80" # must be same as Device in Storage daemon
437 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
440 # Definition of DDS tape storage device
443 # Address = @hostname@ # N.B. Use a fully qualified name here
445 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
446 # Device = SDT-10000 # must be same as Device in Storage daemon
447 # Media Type = tape # must be same as MediaType in Storage daemon
450 # Definition of 8mm tape storage device
453 # Address = @hostname@ # N.B. Use a fully qualified name here
455 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
456 # Device = "Exabyte 8mm"
461 # Generic catalog service
465 dbname = @db_name@; user = @db_user@; password = "@db_password@"
468 # Reasonable message delivery -- send most everything to email address
472 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
473 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
474 # MailOnError = @job_email@ = all
475 # operator = @job_email@ = mount
476 console = all, !skipped, !terminate, !restored
478 # WARNING! the following will create a file that you must cycle from
479 # time to time as it will grow indefinitely. However, it will
480 # also keep all your messages if the scroll off the console.
482 append = "@working_dir@/log" = all, !skipped
483 catalog = all, !skipped
488 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
489 console = all, !skipped, !terminate
491 # WARNING! the following will create a file that you must cycle from
492 # time to time as it will grow indefinitely. However, it will
493 # also keep all your messages if the scroll off the console.
495 append = "@working_dir@/log" = all, !skipped
496 catalog = all, !skipped
500 # Default pool definition
504 Recycle = yes # Bacula can automatically recycle Volumes
505 AutoPrune = yes # Prune expired volumes
506 Volume Retention = 365d # one year
507 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
508 # Simple Label Format = "Backup-"
509 # Maximum Volume Jobs = 1
510 # Maximum Volume Bytes = 512000