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
53 Write Bootstrap = "@working_dir@/NightlySave.bsr"
58 Name = "MonsterFileSet"
61 FileSet="MonsterFileSet"
65 Maximum Concurrent Jobs = 4
66 Write Bootstrap = "@working_dir@/NightlySave.bsr"
75 Level = VolumeToCatalog
81 Write Bootstrap = "@working_dir@/NightlySave.bsr"
94 Write Bootstrap = "@working_dir@/NightlySave.bsr"
99 Name = "CompressedTest"
102 FileSet="CompressedSet"
106 Maximum Concurrent Jobs = 4
107 Write Bootstrap = "@working_dir@/NightlySave.bsr"
112 Name = "SparseCompressedTest"
115 FileSet="SparseCompressedSet"
119 Write Bootstrap = "@working_dir@/NightlySave.bsr"
131 Write Bootstrap = "@working_dir@/NightlySave.bsr"
132 ClientRunBeforeJob = "/bin/sleep 5"
138 # Backup the catalog database (after the nightly save)
140 Name = "BackupCatalog"
144 # Schedule = "WeeklyCycleAfterBackup"
148 # This creates an ASCII copy of the catalog
149 RunBeforeJob = "@sbindir@/make_catalog_backup -u regress"
150 # This deletes the copy of the catalog
151 RunAfterJob = "@sbindir@/delete_catalog_backup"
152 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
167 JobDefs = "BackupJob"
168 Name = "bug621-job-1"
169 Client = @hostname@-fd
171 ClientRunBeforeJob = "/bin/sleep 5"
175 JobDefs = "BackupJob"
176 Name = "bug621-job-2"
177 Client = @hostname@-fd
184 # Standard Restore template, to be changed by Console program
186 Name = "RestoreFiles"
193 Where = @tmpdir@/bacula-restores
198 # List of files to be backed up
202 Options { signature=MD5; sparse=yes;
204 File = <@tmpdir@/file-list
215 File = <@tmpdir@/file-list
220 Name = "CompressedSet"
226 File = <@tmpdir@/file-list
237 File = <@tmpdir@/file-list
243 Name = "SparseCompressedSet"
250 File = <@tmpdir@/file-list
255 Name = "MonsterFileSet"
263 RegexDir = "Windows Defender"
264 RegexDir = "Temporary Internet Files"
268 RegexDir = "ATI Technologies"
270 RegexDir = "wmdownloads"
271 RegexDir = "My Music"
275 RegexFile = "desktop.ini"
276 RegexFile = "thumbs.db"
277 RegexFile = "acrobat7.exe"
278 RegexFile = "acr6win.exe"
279 RegexFile = "AdbeRdr70_enu_full.exe"
280 RegexFile = "antivirus10_1_5.exe"
281 #thunderbird lock file
282 RegexFile = "parent.lock"
284 RegexDir = "Retrospect Restore Points"
286 #exclude i386 director of windows installer files
287 WildDir = "[A-Z]:/i386"
289 # Exclude Mozilla-based programs' file caches
290 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
291 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
293 # Exclude user's registry files - they're always in use anyway.
294 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
295 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
296 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
297 WildFile = "[A-Z]:/Users/*/ntuser.*"
299 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
300 WildDir = "[A-Z]:/Users/*/Recent"
302 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
303 WildDir = "[A-Z]:/Users/*/Local Settings/History"
305 # These are always open and unable to be backed up
306 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
307 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
309 #Exclude all of Windows...
310 WildDir = "[A-Z]:/windows"
311 WildDir = "[A-Z]:/winnt"
312 WildDir = "[A-Z]:/winxp"
313 WildDir = "[A-Z]:/win"
315 #symantec antivirus app stuff
316 WildDir = "[A-Z]:/*/Symantec*"
318 #system volume information
319 WildDir = "[A-Z]:/System Volume Information"
322 # ghost image and spanning files
327 WildDir = "[A-Z]:/RECYCLER"
328 WildDir = "[A-Z]:/RECYCLER"
329 WildDir = "[A-Z]:/RECYCLED"
330 WildDir = "[A-Z]:/$RECYCLE.BIN"
333 WildFile = "[A-Z]:/pagefile.sys"
335 # These are programs and are easier to reinstall than restore from
337 WildDir = "[A-Z]:/cygwin"
338 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
339 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
341 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
342 WildDir = "[A-Z]:/Software Center"
344 WildDir = "[A-Z]:/Program Files/Grisoft"
345 WildDir = "[A-Z]:/Program Files/Java"
346 WildDir = "[A-Z]:/Program Files/Java Web Start"
347 WildDir = "[A-Z]:/Program Files/JavaSoft"
348 WildDir = "[A-Z]:/Program Files/Microsoft Office"
349 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
350 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
351 WildDir = "[A-Z]:/Program Files/mozilla.org"
352 WildDir = "[A-Z]:/Program Files/OpenOffice*"
354 File = <@tmpdir@/file-list
360 # When to do the backups, full backup on first sunday of the month,
361 # differential (i.e. incremental since full) every other sunday,
362 # and incremental backups other days
365 Run = Level=Full 1st sun at 1:05
366 Run = Level=Differential 2nd-5th sun at 1:05
367 Run = Level=Incremental mon-sat at 1:05
370 # This schedule does the catalog. It starts after the WeeklyCycle
372 Name = "WeeklyCycleAfterBackup"
373 Run = Level=Full sun-sat at 1:10
376 # This is the backup of the catalog
383 File = /home/kern/bacula/regress/bin/working/bacula.sql
387 # Client (File Services) to backup
393 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
394 File Retention = 30d # 30 days
395 Job Retention = 180d # six months
396 AutoPrune = yes # Prune expired Jobs/Files
397 Maximum Concurrent Jobs = 4
400 # Definiton of file storage device
403 Address = @hostname@ # N.B. Use a fully qualified name here
405 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
408 Maximum Concurrent Jobs = 4
413 Address = @hostname@ # N.B. Use a fully qualified name here
415 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
416 Device = FileStorage1
418 Maximum Concurrent Jobs = 4
422 # Definition of DLT tape storage device
425 # Address = @hostname@ # N.B. Use a fully qualified name here
427 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
428 # Device = "HP DLT 80" # must be same as Device in Storage daemon
429 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
432 # Definition of DDS tape storage device
435 # Address = @hostname@ # N.B. Use a fully qualified name here
437 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
438 # Device = SDT-10000 # must be same as Device in Storage daemon
439 # Media Type = tape # must be same as MediaType in Storage daemon
442 # Definition of 8mm tape storage device
445 # Address = @hostname@ # N.B. Use a fully qualified name here
447 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
448 # Device = "Exabyte 8mm"
453 # Generic catalog service
457 dbname = @db_name@; user = @db_user@; password = "@db_password@"
460 # Reasonable message delivery -- send most everything to email address
464 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
465 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
466 # MailOnError = @job_email@ = all
467 # operator = @job_email@ = mount
468 console = all, !skipped, !terminate, !restored
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
480 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
481 console = all, !skipped, !terminate
483 # WARNING! the following will create a file that you must cycle from
484 # time to time as it will grow indefinitely. However, it will
485 # also keep all your messages if the scroll off the console.
487 append = "@working_dir@/log" = all, !skipped
488 catalog = all, !skipped
492 # Default pool definition
496 Recycle = yes # Bacula can automatically recycle Volumes
497 AutoPrune = yes # Prune expired volumes
498 Volume Retention = 365d # one year
499 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
500 # Simple Label Format = "Backup-"
501 # Maximum Volume Jobs = 1
502 # Maximum Volume Bytes = 512000