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 = yes
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 Write Bootstrap = "@working_dir@/NightlySave.bsr"
143 ClientRunBeforeJob = "/bin/sleep 5"
149 # Backup the catalog database (after the nightly save)
151 Name = "BackupCatalog"
155 # Schedule = "WeeklyCycleAfterBackup"
159 # This creates an ASCII copy of the catalog
160 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
161 # This deletes the copy of the catalog
162 RunAfterJob = "@sbindir@/delete_catalog_backup"
163 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
178 JobDefs = "BackupJob"
179 Name = "bug621-job-1"
180 Client = @hostname@-fd
182 ClientRunBeforeJob = "/bin/sleep 5"
186 JobDefs = "BackupJob"
187 Name = "bug621-job-2"
188 Client = @hostname@-fd
195 # Standard Restore template, to be changed by Console program
197 Name = "RestoreFiles"
204 Where = @tmpdir@/bacula-restores
209 # List of files to be backed up
213 Options { signature=MD5; sparse=yes;
215 File = <@tmpdir@/file-list
226 File = <@tmpdir@/file-list
231 Name = "CompressedSet"
237 File = <@tmpdir@/file-list
248 File = <@tmpdir@/file-list
254 Name = "SparseCompressedSet"
261 File = <@tmpdir@/file-list
266 Name = "MonsterFileSet"
274 RegexDir = "Windows Defender"
275 RegexDir = "Temporary Internet Files"
279 RegexDir = "ATI Technologies"
281 RegexDir = "wmdownloads"
282 RegexDir = "My Music"
286 RegexFile = "desktop.ini"
287 RegexFile = "thumbs.db"
288 RegexFile = "acrobat7.exe"
289 RegexFile = "acr6win.exe"
290 RegexFile = "AdbeRdr70_enu_full.exe"
291 RegexFile = "antivirus10_1_5.exe"
292 #thunderbird lock file
293 RegexFile = "parent.lock"
295 RegexDir = "Retrospect Restore Points"
297 #exclude i386 director of windows installer files
298 WildDir = "[A-Z]:/i386"
300 # Exclude Mozilla-based programs' file caches
301 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
302 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
304 # Exclude user's registry files - they're always in use anyway.
305 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
306 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
307 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
308 WildFile = "[A-Z]:/Users/*/ntuser.*"
310 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
311 WildDir = "[A-Z]:/Users/*/Recent"
313 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
314 WildDir = "[A-Z]:/Users/*/Local Settings/History"
316 # These are always open and unable to be backed up
317 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
318 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
320 #Exclude all of Windows...
321 WildDir = "[A-Z]:/windows"
322 WildDir = "[A-Z]:/winnt"
323 WildDir = "[A-Z]:/winxp"
324 WildDir = "[A-Z]:/win"
326 #symantec antivirus app stuff
327 WildDir = "[A-Z]:/*/Symantec*"
329 #system volume information
330 WildDir = "[A-Z]:/System Volume Information"
333 # ghost image and spanning files
338 WildDir = "[A-Z]:/RECYCLER"
339 WildDir = "[A-Z]:/RECYCLER"
340 WildDir = "[A-Z]:/RECYCLED"
341 WildDir = "[A-Z]:/$RECYCLE.BIN"
344 WildFile = "[A-Z]:/pagefile.sys"
346 # These are programs and are easier to reinstall than restore from
348 WildDir = "[A-Z]:/cygwin"
349 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
350 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
352 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
353 WildDir = "[A-Z]:/Software Center"
355 WildDir = "[A-Z]:/Program Files/Grisoft"
356 WildDir = "[A-Z]:/Program Files/Java"
357 WildDir = "[A-Z]:/Program Files/Java Web Start"
358 WildDir = "[A-Z]:/Program Files/JavaSoft"
359 WildDir = "[A-Z]:/Program Files/Microsoft Office"
360 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
361 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
362 WildDir = "[A-Z]:/Program Files/mozilla.org"
363 WildDir = "[A-Z]:/Program Files/OpenOffice*"
365 File = <@tmpdir@/file-list
371 # When to do the backups, full backup on first sunday of the month,
372 # differential (i.e. incremental since full) every other sunday,
373 # and incremental backups other days
376 Run = Level=Full 1st sun at 1:05
377 Run = Level=Differential 2nd-5th sun at 1:05
378 Run = Level=Incremental mon-sat at 1:05
381 # This schedule does the catalog. It starts after the WeeklyCycle
383 Name = "WeeklyCycleAfterBackup"
384 Run = Level=Full sun-sat at 1:10
387 # This is the backup of the catalog
394 File = /home/kern/bacula/regress/bin/working/bacula.sql
398 # Client (File Services) to backup
404 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
405 File Retention = 30d # 30 days
406 Job Retention = 180d # six months
407 AutoPrune = yes # Prune expired Jobs/Files
408 Maximum Concurrent Jobs = 10
411 # Definiton of file storage device
414 Address = @hostname@ # N.B. Use a fully qualified name here
416 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
419 Maximum Concurrent Jobs = 10
424 Address = @hostname@ # N.B. Use a fully qualified name here
426 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
427 Device = FileStorage1
429 Maximum Concurrent Jobs = 10
433 # Definition of DLT tape storage device
436 # Address = @hostname@ # N.B. Use a fully qualified name here
438 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
439 # Device = "HP DLT 80" # must be same as Device in Storage daemon
440 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
443 # Definition of DDS tape storage device
446 # Address = @hostname@ # N.B. Use a fully qualified name here
448 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
449 # Device = SDT-10000 # must be same as Device in Storage daemon
450 # Media Type = tape # must be same as MediaType in Storage daemon
453 # Definition of 8mm tape storage device
456 # Address = @hostname@ # N.B. Use a fully qualified name here
458 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
459 # Device = "Exabyte 8mm"
464 # Generic catalog service
468 dbname = @db_name@; user = @db_user@; password = "@db_password@"
471 # Reasonable message delivery -- send most everything to email address
475 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
476 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
477 # MailOnError = @job_email@ = all
478 # operator = @job_email@ = mount
479 console = all, !skipped, !terminate, !restored
481 # WARNING! the following will create a file that you must cycle from
482 # time to time as it will grow indefinitely. However, it will
483 # also keep all your messages if the scroll off the console.
485 append = "@working_dir@/log" = all, !skipped
486 catalog = all, !skipped
491 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
492 console = all, !skipped, !terminate
494 # WARNING! the following will create a file that you must cycle from
495 # time to time as it will grow indefinitely. However, it will
496 # also keep all your messages if the scroll off the console.
498 append = "@working_dir@/log" = all, !skipped
499 catalog = all, !skipped
503 # Default pool definition
507 Recycle = yes # Bacula can automatically recycle Volumes
508 AutoPrune = yes # Prune expired volumes
509 Volume Retention = 365d # one year
510 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
511 # Simple Label Format = "Backup-"
512 # Maximum Volume Jobs = 1
513 # Maximum Volume Bytes = 512000