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;
193 File = <@tmpdir@/file-list
204 File = <@tmpdir@/file-list
209 Name = "CompressedSet"
215 File = <@tmpdir@/file-list
226 File = <@tmpdir@/file-list
232 Name = "SparseCompressedSet"
239 File = <@tmpdir@/file-list
244 Name = "MonsterFileSet"
252 RegexDir = "Windows Defender"
253 RegexDir = "Temporary Internet Files"
257 RegexDir = "ATI Technologies"
259 RegexDir = "wmdownloads"
260 RegexDir = "My Music"
264 RegexFile = "desktop.ini"
265 RegexFile = "thumbs.db"
266 RegexFile = "acrobat7.exe"
267 RegexFile = "acr6win.exe"
268 RegexFile = "AdbeRdr70_enu_full.exe"
269 RegexFile = "antivirus10_1_5.exe"
270 #thunderbird lock file
271 RegexFile = "parent.lock"
273 RegexDir = "Retrospect Restore Points"
275 #exclude i386 director of windows installer files
276 WildDir = "[A-Z]:/i386"
278 # Exclude Mozilla-based programs' file caches
279 WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
280 WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
282 # Exclude user's registry files - they're always in use anyway.
283 WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
284 WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
285 WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
286 WildFile = "[A-Z]:/Users/*/ntuser.*"
288 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
289 WildDir = "[A-Z]:/Users/*/Recent"
291 WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
292 WildDir = "[A-Z]:/Users/*/Local Settings/History"
294 # These are always open and unable to be backed up
295 WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
296 WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
298 #Exclude all of Windows...
299 WildDir = "[A-Z]:/windows"
300 WildDir = "[A-Z]:/winnt"
301 WildDir = "[A-Z]:/winxp"
302 WildDir = "[A-Z]:/win"
304 #symantec antivirus app stuff
305 WildDir = "[A-Z]:/*/Symantec*"
307 #system volume information
308 WildDir = "[A-Z]:/System Volume Information"
311 # ghost image and spanning files
316 WildDir = "[A-Z]:/RECYCLER"
317 WildDir = "[A-Z]:/RECYCLER"
318 WildDir = "[A-Z]:/RECYCLED"
319 WildDir = "[A-Z]:/$RECYCLE.BIN"
322 WildFile = "[A-Z]:/pagefile.sys"
324 # These are programs and are easier to reinstall than restore from
326 WildDir = "[A-Z]:/cygwin"
327 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
328 WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
330 WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
331 WildDir = "[A-Z]:/Software Center"
333 WildDir = "[A-Z]:/Program Files/Grisoft"
334 WildDir = "[A-Z]:/Program Files/Java"
335 WildDir = "[A-Z]:/Program Files/Java Web Start"
336 WildDir = "[A-Z]:/Program Files/JavaSoft"
337 WildDir = "[A-Z]:/Program Files/Microsoft Office"
338 WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
339 WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
340 WildDir = "[A-Z]:/Program Files/mozilla.org"
341 WildDir = "[A-Z]:/Program Files/OpenOffice*"
343 File = <@tmpdir@/file-list
349 # When to do the backups, full backup on first sunday of the month,
350 # differential (i.e. incremental since full) every other sunday,
351 # and incremental backups other days
354 Run = Level=Full 1st sun at 1:05
355 Run = Level=Differential 2nd-5th sun at 1:05
356 Run = Level=Incremental mon-sat at 1:05
359 # This schedule does the catalog. It starts after the WeeklyCycle
361 Name = "WeeklyCycleAfterBackup"
362 Run = Level=Full sun-sat at 1:10
365 # This is the backup of the catalog
372 File = /home/kern/bacula/regress/bin/working/bacula.sql
376 # Client (File Services) to backup
382 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
383 File Retention = 30d # 30 days
384 Job Retention = 180d # six months
385 AutoPrune = yes # Prune expired Jobs/Files
386 Maximum Concurrent Jobs = 4
389 # Definiton of file storage device
392 Address = @hostname@ # N.B. Use a fully qualified name here
394 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
397 Maximum Concurrent Jobs = 4
402 Address = @hostname@ # N.B. Use a fully qualified name here
404 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
405 Device = FileStorage1
407 Maximum Concurrent Jobs = 4
411 # Definition of DLT tape storage device
414 # Address = @hostname@ # N.B. Use a fully qualified name here
416 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
417 # Device = "HP DLT 80" # must be same as Device in Storage daemon
418 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
421 # Definition of DDS tape storage device
424 # Address = @hostname@ # N.B. Use a fully qualified name here
426 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
427 # Device = SDT-10000 # must be same as Device in Storage daemon
428 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
431 # Definition of 8mm tape storage device
434 # Address = @hostname@ # N.B. Use a fully qualified name here
436 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
437 # Device = "Exabyte 8mm"
442 # Generic catalog service
446 dbname = @db_name@; user = @db_user@; password = "@db_password@"
449 # Reasonable message delivery -- send most everything to email address
453 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
454 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
455 # MailOnError = @job_email@ = all
456 # operator = @job_email@ = mount
457 console = all, !skipped, !terminate, !restored
459 # WARNING! the following will create a file that you must cycle from
460 # time to time as it will grow indefinitely. However, it will
461 # also keep all your messages if the scroll off the console.
463 append = "@working_dir@/log" = all, !skipped
464 catalog = all, !skipped
469 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
470 console = all, !skipped, !terminate
472 # WARNING! the following will create a file that you must cycle from
473 # time to time as it will grow indefinitely. However, it will
474 # also keep all your messages if the scroll off the console.
476 append = "@working_dir@/log" = all, !skipped
477 catalog = all, !skipped
481 # Default pool definition
485 Recycle = yes # Bacula can automatically recycle Volumes
486 AutoPrune = yes # Prune expired volumes
487 Volume Retention = 365d # one year
488 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
489 # Maximum Volume Jobs = 1