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
190 Options { signature=MD5; sparse=yes }
191 File = <@tmpdir@/file-list
202 File = <@tmpdir@/file-list
207 Name = "CompressedSet"
213 File = <@tmpdir@/file-list
224 File = <@tmpdir@/file-list
230 Name = "SparseCompressedSet"
237 File = <@tmpdir@/file-list
242 Name = "MonsterFileSet"
250 RegexDir = "Windows Defender"
251 RegexDir = "Temporary Internet Files"
255 RegexDir = "ATI Technologies"
257 RegexDir = "wmdownloads"
258 RegexDir = "My Music"
262 RegexFile = "desktop.ini"
263 RegexFile = "thumbs.db"
264 RegexFile = "acrobat7.exe"
265 RegexFile = "acr6win.exe"
266 RegexFile = "AdbeRdr70_enu_full.exe"
267 RegexFile = "antivirus10_1_5.exe"
268 #thunderbird lock file
269 RegexFile = "parent.lock"
271 RegexDir = "Retrospect Restore Points"
273 #exclude i386 director of windows installer files
274 WildDir = "[A-Z]:/i386"
276 # Exclude Mozilla-based programs' file caches
277 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
278 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
280 # Exclude user's registry files - they're always in use anyway.
281 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
282 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
283 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
284 WildFile = "[A-Z]:/Users/*/ntuser.*"
286 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
287 WildDir = "[A-Z]:/Users/*/Recent"
289 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
290 WildDir = "[A-Z]:/Users/*/Local Settings/History"
292 # These are always open and unable to be backed up
293 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
294 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
296 #Exclude all of Windows...
297 WildDir = "[A-Z]:/windows"
298 WildDir = "[A-Z]:/winnt"
299 WildDir = "[A-Z]:/winxp"
300 WildDir = "[A-Z]:/win"
302 #symantec antivirus app stuff
303 WildDir = "[A-Z]:/*/Symantec*"
305 #system volume information
306 WildDir = "[A-Z]:/System Volume Information"
309 # ghost image and spanning files
314 WildDir = "[A-Z]:/RECYCLER"
315 WildDir = "[A-Z]:/RECYCLER"
316 WildDir = "[A-Z]:/RECYCLED"
317 WildDir = "[A-Z]:/$RECYCLE.BIN"
320 WildFile = "[A-Z]:/pagefile.sys"
322 # These are programs and are easier to reinstall than restore from
324 WildDir = "[A-Z]:/cygwin"
325 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
326 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
328 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
329 WildDir = "[A-Z]:/Software Center"
331 WildDir = "[A-Z]:/Program Files/Grisoft"
332 WildDir = "[A-Z]:/Program Files/Java"
333 WildDir = "[A-Z]:/Program Files/Java Web Start"
334 WildDir = "[A-Z]:/Program Files/JavaSoft"
335 WildDir = "[A-Z]:/Program Files/Microsoft Office"
336 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
337 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
338 WildDir = "[A-Z]:/Program Files/mozilla.org"
339 WildDir = "[A-Z]:/Program Files/OpenOffice*"
341 File = <@tmpdir@/file-list
347 # When to do the backups, full backup on first sunday of the month,
348 # differential (i.e. incremental since full) every other sunday,
349 # and incremental backups other days
352 Run = Level=Full 1st sun at 1:05
353 Run = Level=Differential 2nd-5th sun at 1:05
354 Run = Level=Incremental mon-sat at 1:05
357 # This schedule does the catalog. It starts after the WeeklyCycle
359 Name = "WeeklyCycleAfterBackup"
360 Run = Level=Full sun-sat at 1:10
363 # This is the backup of the catalog
370 File = /home/kern/bacula/regress/bin/working/bacula.sql
374 # Client (File Services) to backup
380 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
381 File Retention = 30d # 30 days
382 Job Retention = 180d # six months
383 AutoPrune = yes # Prune expired Jobs/Files
384 Maximum Concurrent Jobs = 4
387 # Definiton of file storage device
390 Address = @hostname@ # N.B. Use a fully qualified name here
392 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
395 Maximum Concurrent Jobs = 4
400 Address = @hostname@ # N.B. Use a fully qualified name here
402 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
403 Device = FileStorage1
405 Maximum Concurrent Jobs = 4
409 # Definition of DLT tape storage device
412 # Address = @hostname@ # N.B. Use a fully qualified name here
414 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
415 # Device = "HP DLT 80" # must be same as Device in Storage daemon
416 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
419 # Definition of DDS tape storage device
422 # Address = @hostname@ # N.B. Use a fully qualified name here
424 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
425 # Device = SDT-10000 # must be same as Device in Storage daemon
426 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
429 # Definition of 8mm tape storage device
432 # Address = @hostname@ # N.B. Use a fully qualified name here
434 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
435 # Device = "Exabyte 8mm"
440 # Generic catalog service
444 dbname = @db_name@; user = @db_user@; password = "@db_password@"
447 # Reasonable message delivery -- send most everything to email address
451 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
452 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
453 # MailOnError = @job_email@ = all
454 # operator = @job_email@ = mount
455 console = all, !skipped, !terminate, !restored
457 # WARNING! the following will create a file that you must cycle from
458 # time to time as it will grow indefinitely. However, it will
459 # also keep all your messages if the scroll off the console.
461 append = "@working_dir@/log" = all, !skipped
462 catalog = all, !skipped
467 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
468 console = all, !skipped, !terminate
470 # WARNING! the following will create a file that you must cycle from
471 # time to time as it will grow indefinitely. However, it will
472 # also keep all your messages if the scroll off the console.
474 append = "@working_dir@/log" = all, !skipped
475 catalog = all, !skipped
479 # Default pool definition
483 Recycle = yes # Bacula can automatically recycle Volumes
484 AutoPrune = yes # Prune expired volumes
485 Volume Retention = 365d # one year
486 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
487 # Maximum Volume Jobs = 1