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 Maximum Concurrent Jobs = 4
23 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
28 # Define the main nightly save backup job
29 # By default, this job will back up to disk in @tmpdir@
38 Write Bootstrap = "@working_dir@/NightlySave.bsr"
39 Maximum Concurrent Jobs = 4
51 Write Bootstrap = "@working_dir@/NightlySave.bsr"
55 Name = "MonsterFileSet"
58 FileSet="MonsterFileSet"
62 Maximum Concurrent Jobs = 4
63 Write Bootstrap = "@working_dir@/NightlySave.bsr"
71 Level = VolumeToCatalog
77 Write Bootstrap = "@working_dir@/NightlySave.bsr"
89 Write Bootstrap = "@working_dir@/NightlySave.bsr"
93 Name = "CompressedTest"
96 FileSet="CompressedSet"
100 Maximum Concurrent Jobs = 4
101 Write Bootstrap = "@working_dir@/NightlySave.bsr"
105 Name = "SparseCompressedTest"
108 FileSet="SparseCompressedSet"
112 Write Bootstrap = "@working_dir@/NightlySave.bsr"
123 Write Bootstrap = "@working_dir@/NightlySave.bsr"
124 ClientRunBeforeJob = "/bin/sleep 60"
129 # Backup the catalog database (after the nightly save)
131 Name = "BackupCatalog"
135 # Schedule = "WeeklyCycleAfterBackup"
139 # This creates an ASCII copy of the catalog
140 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
141 # This deletes the copy of the catalog
142 RunAfterJob = "@sbindir@/delete_catalog_backup"
143 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
156 JobDefs = "BackupJob"
157 Name = "bug621-job-1"
158 Client = @hostname@-fd
160 ClientRunBeforeJob = "/bin/sleep 60"
164 JobDefs = "BackupJob"
165 Name = "bug621-job-2"
166 Client = @hostname@-fd
173 # Standard Restore template, to be changed by Console program
175 Name = "RestoreFiles"
182 Where = @tmpdir@/bacula-restores
186 # List of files to be backed up
189 Include { Options { signature=MD5 }
190 File = <@tmpdir@/file-list
201 File = <@tmpdir@/file-list
206 Name = "CompressedSet"
212 File = <@tmpdir@/file-list
223 File = <@tmpdir@/file-list
229 Name = "SparseCompressedSet"
236 File = <@tmpdir@/file-list
241 Name = "MonsterFileSet"
249 RegexDir = "Windows Defender"
250 RegexDir = "Temporary Internet Files"
254 RegexDir = "ATI Technologies"
256 RegexDir = "wmdownloads"
257 RegexDir = "My Music"
261 RegexFile = "desktop.ini"
262 RegexFile = "thumbs.db"
263 RegexFile = "acrobat7.exe"
264 RegexFile = "acr6win.exe"
265 RegexFile = "AdbeRdr70_enu_full.exe"
266 RegexFile = "antivirus10_1_5.exe"
267 #thunderbird lock file
268 RegexFile = "parent.lock"
270 RegexDir = "Retrospect Restore Points"
272 #exclude i386 director of windows installer files
273 WildDir = "[A-Z]:/i386"
275 # Exclude Mozilla-based programs' file caches
276 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
277 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
279 # Exclude user's registry files - they're always in use anyway.
280 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
281 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
282 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
283 WildFile = "[A-Z]:/Users/*/ntuser.*"
285 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
286 WildDir = "[A-Z]:/Users/*/Recent"
288 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
289 WildDir = "[A-Z]:/Users/*/Local Settings/History"
291 # These are always open and unable to be backed up
292 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
293 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
295 #Exclude all of Windows...
296 WildDir = "[A-Z]:/windows"
297 WildDir = "[A-Z]:/winnt"
298 WildDir = "[A-Z]:/winxp"
299 WildDir = "[A-Z]:/win"
301 #symantec antivirus app stuff
302 WildDir = "[A-Z]:/*/Symantec*"
304 #system volume information
305 WildDir = "[A-Z]:/System Volume Information"
308 # ghost image and spanning files
313 WildDir = "[A-Z]:/RECYCLER"
314 WildDir = "[A-Z]:/RECYCLER"
315 WildDir = "[A-Z]:/RECYCLED"
316 WildDir = "[A-Z]:/$RECYCLE.BIN"
319 WildFile = "[A-Z]:/pagefile.sys"
321 # These are programs and are easier to reinstall than restore from
323 WildDir = "[A-Z]:/cygwin"
324 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
325 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
327 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
328 WildDir = "[A-Z]:/Software Center"
330 WildDir = "[A-Z]:/Program Files/Grisoft"
331 WildDir = "[A-Z]:/Program Files/Java"
332 WildDir = "[A-Z]:/Program Files/Java Web Start"
333 WildDir = "[A-Z]:/Program Files/JavaSoft"
334 WildDir = "[A-Z]:/Program Files/Microsoft Office"
335 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
336 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
337 WildDir = "[A-Z]:/Program Files/mozilla.org"
338 WildDir = "[A-Z]:/Program Files/OpenOffice*"
340 File = <@tmpdir@/file-list
346 # When to do the backups, full backup on first sunday of the month,
347 # differential (i.e. incremental since full) every other sunday,
348 # and incremental backups other days
351 Run = Level=Full 1st sun at 1:05
352 Run = Level=Differential 2nd-5th sun at 1:05
353 Run = Level=Incremental mon-sat at 1:05
356 # This schedule does the catalog. It starts after the WeeklyCycle
358 Name = "WeeklyCycleAfterBackup"
359 Run = Level=Full sun-sat at 1:10
362 # This is the backup of the catalog
369 File = /home/kern/bacula/regress/bin/working/bacula.sql
373 # Client (File Services) to backup
379 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
380 File Retention = 30d # 30 days
381 Job Retention = 180d # six months
382 AutoPrune = yes # Prune expired Jobs/Files
383 Maximum Concurrent Jobs = 4
386 # Definiton of file storage device
389 Address = @hostname@ # N.B. Use a fully qualified name here
391 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
394 Maximum Concurrent Jobs = 4
399 Address = @hostname@ # N.B. Use a fully qualified name here
401 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
402 Device = FileStorage1
404 Maximum Concurrent Jobs = 4
408 # Definition of DLT tape storage device
411 # Address = @hostname@ # N.B. Use a fully qualified name here
413 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
414 # Device = "HP DLT 80" # must be same as Device in Storage daemon
415 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
418 # Definition of DDS tape storage device
421 # Address = @hostname@ # N.B. Use a fully qualified name here
423 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
424 # Device = SDT-10000 # must be same as Device in Storage daemon
425 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
428 # Definition of 8mm tape storage device
431 # Address = @hostname@ # N.B. Use a fully qualified name here
433 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
434 # Device = "Exabyte 8mm"
439 # Generic catalog service
443 dbname = @db_name@; user = @db_user@; password = "@db_password@"
446 # Reasonable message delivery -- send most everything to email address
450 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
451 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
452 # MailOnError = @job_email@ = all
453 # operator = @job_email@ = mount
454 console = all, !skipped, !terminate, !restored
456 # WARNING! the following will create a file that you must cycle from
457 # time to time as it will grow indefinitely. However, it will
458 # also keep all your messages if the scroll off the console.
460 append = "@working_dir@/log" = all, !skipped
461 catalog = all, !skipped
466 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
467 console = all, !skipped, !terminate
469 # WARNING! the following will create a file that you must cycle from
470 # time to time as it will grow indefinitely. However, it will
471 # also keep all your messages if the scroll off the console.
473 append = "@working_dir@/log" = all, !skipped
474 catalog = all, !skipped
478 # Default pool definition
482 Recycle = yes # Bacula can automatically recycle Volumes
483 AutoPrune = yes # Prune expired volumes
484 Volume Retention = 365d # one year
485 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
486 # Maximum Volume Jobs = 1