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 = 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"
125 ClientRunBeforeJob = "/bin/sleep 60"
130 # Backup the catalog database (after the nightly save)
132 Name = "BackupCatalog"
136 # Schedule = "WeeklyCycleAfterBackup"
140 # This creates an ASCII copy of the catalog
141 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
142 # This deletes the copy of the catalog
143 RunAfterJob = "@sbindir@/delete_catalog_backup"
144 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
157 JobDefs = "BackupJob"
158 Name = "bug621-job-1"
159 Client = @hostname@-fd
161 ClientRunBeforeJob = "/bin/sleep 60"
165 JobDefs = "BackupJob"
166 Name = "bug621-job-2"
167 Client = @hostname@-fd
174 # Standard Restore template, to be changed by Console program
176 Name = "RestoreFiles"
183 Where = @tmpdir@/bacula-restores
187 # List of files to be backed up
191 Options { signature=MD5; sparse=yes }
192 File = <@tmpdir@/file-list
203 File = <@tmpdir@/file-list
208 Name = "CompressedSet"
214 File = <@tmpdir@/file-list
225 File = <@tmpdir@/file-list
231 Name = "SparseCompressedSet"
238 File = <@tmpdir@/file-list
243 Name = "MonsterFileSet"
251 RegexDir = "Windows Defender"
252 RegexDir = "Temporary Internet Files"
256 RegexDir = "ATI Technologies"
258 RegexDir = "wmdownloads"
259 RegexDir = "My Music"
263 RegexFile = "desktop.ini"
264 RegexFile = "thumbs.db"
265 RegexFile = "acrobat7.exe"
266 RegexFile = "acr6win.exe"
267 RegexFile = "AdbeRdr70_enu_full.exe"
268 RegexFile = "antivirus10_1_5.exe"
269 #thunderbird lock file
270 RegexFile = "parent.lock"
272 RegexDir = "Retrospect Restore Points"
274 #exclude i386 director of windows installer files
275 WildDir = "[A-Z]:/i386"
277 # Exclude Mozilla-based programs' file caches
278 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
279 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
281 # Exclude user's registry files - they're always in use anyway.
282 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
283 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
284 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
285 WildFile = "[A-Z]:/Users/*/ntuser.*"
287 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
288 WildDir = "[A-Z]:/Users/*/Recent"
290 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
291 WildDir = "[A-Z]:/Users/*/Local Settings/History"
293 # These are always open and unable to be backed up
294 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
295 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
297 #Exclude all of Windows...
298 WildDir = "[A-Z]:/windows"
299 WildDir = "[A-Z]:/winnt"
300 WildDir = "[A-Z]:/winxp"
301 WildDir = "[A-Z]:/win"
303 #symantec antivirus app stuff
304 WildDir = "[A-Z]:/*/Symantec*"
306 #system volume information
307 WildDir = "[A-Z]:/System Volume Information"
310 # ghost image and spanning files
315 WildDir = "[A-Z]:/RECYCLER"
316 WildDir = "[A-Z]:/RECYCLER"
317 WildDir = "[A-Z]:/RECYCLED"
318 WildDir = "[A-Z]:/$RECYCLE.BIN"
321 WildFile = "[A-Z]:/pagefile.sys"
323 # These are programs and are easier to reinstall than restore from
325 WildDir = "[A-Z]:/cygwin"
326 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
327 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
329 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
330 WildDir = "[A-Z]:/Software Center"
332 WildDir = "[A-Z]:/Program Files/Grisoft"
333 WildDir = "[A-Z]:/Program Files/Java"
334 WildDir = "[A-Z]:/Program Files/Java Web Start"
335 WildDir = "[A-Z]:/Program Files/JavaSoft"
336 WildDir = "[A-Z]:/Program Files/Microsoft Office"
337 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
338 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
339 WildDir = "[A-Z]:/Program Files/mozilla.org"
340 WildDir = "[A-Z]:/Program Files/OpenOffice*"
342 File = <@tmpdir@/file-list
348 # When to do the backups, full backup on first sunday of the month,
349 # differential (i.e. incremental since full) every other sunday,
350 # and incremental backups other days
353 Run = Level=Full 1st sun at 1:05
354 Run = Level=Differential 2nd-5th sun at 1:05
355 Run = Level=Incremental mon-sat at 1:05
358 # This schedule does the catalog. It starts after the WeeklyCycle
360 Name = "WeeklyCycleAfterBackup"
361 Run = Level=Full sun-sat at 1:10
364 # This is the backup of the catalog
371 File = /home/kern/bacula/regress/bin/working/bacula.sql
375 # Client (File Services) to backup
381 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
382 File Retention = 30d # 30 days
383 Job Retention = 180d # six months
384 AutoPrune = yes # Prune expired Jobs/Files
385 Maximum Concurrent Jobs = 4
388 # Definiton of file storage device
391 Address = @hostname@ # N.B. Use a fully qualified name here
393 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
396 Maximum Concurrent Jobs = 4
401 Address = @hostname@ # N.B. Use a fully qualified name here
403 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
404 Device = FileStorage1
406 Maximum Concurrent Jobs = 4
410 # Definition of DLT tape storage device
413 # Address = @hostname@ # N.B. Use a fully qualified name here
415 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
416 # Device = "HP DLT 80" # must be same as Device in Storage daemon
417 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
420 # Definition of DDS tape storage device
423 # Address = @hostname@ # N.B. Use a fully qualified name here
425 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
426 # Device = SDT-10000 # must be same as Device in Storage daemon
427 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
430 # Definition of 8mm tape storage device
433 # Address = @hostname@ # N.B. Use a fully qualified name here
435 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
436 # Device = "Exabyte 8mm"
441 # Generic catalog service
445 dbname = @db_name@; user = @db_user@; password = "@db_password@"
448 # Reasonable message delivery -- send most everything to email address
452 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
453 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
454 # MailOnError = @job_email@ = all
455 # operator = @job_email@ = mount
456 console = all, !skipped, !terminate, !restored
458 # WARNING! the following will create a file that you must cycle from
459 # time to time as it will grow indefinitely. However, it will
460 # also keep all your messages if the scroll off the console.
462 append = "@working_dir@/log" = all, !skipped
463 catalog = all, !skipped
468 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
469 console = all, !skipped, !terminate
471 # WARNING! the following will create a file that you must cycle from
472 # time to time as it will grow indefinitely. However, it will
473 # also keep all your messages if the scroll off the console.
475 append = "@working_dir@/log" = all, !skipped
476 catalog = all, !skipped
480 # Default pool definition
484 Recycle = yes # Bacula can automatically recycle Volumes
485 AutoPrune = yes # Prune expired volumes
486 Volume Retention = 365d # one year
487 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
488 # Maximum Volume Jobs = 1