2 # Default Bacula Director Configuration file
4 # Copyright (C) 2000-2015 Kern Sibbald
5 # License: BSD 2-Clause; see file LICENSE-FOSS
7 # The only thing that MUST be changed is to add one or more
8 # file or directory names in the Include directive of the
11 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
13 # You might also want to change the default email address
14 # from root to your address. See the "mail" and "operator"
15 # directives in the Messages resource.
18 Director { # define myself
19 Name = @director_name@
20 DIRport = @director_port@ # where we listen for UA connections
21 QueryFile = "@bin_dir@\\query.sql"
22 WorkingDirectory = "@working_dir@"
23 PidDirectory = "@working_dir@"
24 Maximum Concurrent Jobs = @director_maxjobs@
25 Password = "@director_password@" # Console password
33 Client = @client_name@
35 Schedule = "WeeklyCycle"
44 # Define the main nightly save backup job
45 # By default, this job will back up to disk in C:/tmp
48 JobDefs = "DefaultJob"
49 Write Bootstrap = "@working_dir@\\Client1.bsr"
54 # Client = @client_name@2
55 # JobDefs = "DefaultJob"
56 # Write Bootstrap = "@working_dir@\\Client2.bsr"
59 # Backup the catalog database (after the nightly save)
61 Name = "BackupCatalog"
62 JobDefs = "DefaultJob"
65 Schedule = "WeeklyCycleAfterBackup"
66 # This creates an ASCII copy of the catalog
67 RunBeforeJob = "\"@bin_dir@\\make_catalog_backup\" bacula bacula"
68 # This deletes the copy of the catalog
69 RunAfterJob = "\"@bin_dir@\\delete_catalog_backup\""
70 Write Bootstrap = "@working_dir@\\BackupCatalog.bsr"
71 Priority = 11 # run after main backup
75 # Standard Restore template, to be changed by Console program
76 # Only one such job is needed for all Jobs/Clients/Storage ...
86 Where = "C:\\tmp\\bacula-restores"
90 # Note: Windows path separators do NOT work correctly in FileSets.
92 # List of files to be backed up
101 # Put your list of files here, preceded by 'File =', one per line
102 # or include an external list with:
106 # Note: C:/ backs up everything on drive C.
107 # if you have other drives such as D:/
108 # you will probably want to add them too.
110 # By default this is defined to point to the Bacula
111 # directory to give a reasonable FileSet to backup to
112 # disk storage during initial testing.
118 # If you backup the root directory, the following excluded
119 # files can be useful
128 # This is an example which will backup all the hard drives of a Windows System.
131 Name = "Windows Full Set"
141 # Exclude directories full of lots and lots of useless little files
142 WildDir = "[A-Z]:/Documents and Settings/*/Cookies"
143 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
144 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/History"
145 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/Temp"
146 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
148 # Exclude directories full of lots and lots of useless little files
149 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/Cookies"
150 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/Recent"
151 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/History"
152 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/Temp"
153 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
155 # Exclude directories full of lots and lots of useless little files
156 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/Cookies"
157 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/Recent"
158 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/History"
159 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/Temp"
160 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/Temporary Internet Files"
162 # Some random bits of Windows we want to ignore
163 WildDir = "[A-Z]:/{WINNT,Windows}/Prefetch"
164 WildDir = "[A-Z]:/{WINNT,Windows}/msdownld.tmp"
165 WildDir = "[A-Z]:/{WINNT,Windows}/Internet Logs"
166 WildDir = "[A-Z]:/{WINNT,Windows}/$Nt*Uninstall*"
167 WildDir = "[A-Z]:/{WINNT,Windows}/Downloaded Installations"
169 # Temporary directories & files
170 WildDir = "[A-Z]:/{WINNT,Windows}/Temp"
171 WildDir = "[A-Z]:/Temp"
173 WildDir = "[A-Z]:/tmp"
176 WildFile = "[A-Z]:/ffastun*"
179 WildDir = "[A-Z]:/System Volume Information"
182 WildDir = "[A-Z]:/WUTemp"
185 WildDir = "[A-Z]:/RECYCLE[DR]"
188 WildFile = "[A-Z]:/pagefile.sys"
189 WildFile = "[A-Z]:/hiberfil.sys"
191 # These are programs and are easier to reinstall than restore from
193 WildDir = "[A-Z]:/cygwin"
194 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Java"
195 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Java Web Start"
196 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/JavaSoft"
197 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Microsoft Office"
228 # When to do the backups, full backup on first sunday of the month,
229 # differential (i.e. incremental since full) every other sunday,
230 # and incremental backups other days
233 Run = Full 1st sun at 23:05
234 Run = Differential 2nd-5th sun at 23:05
235 Run = Incremental mon-sat at 23:05
238 # This schedule does the catalog. It starts after the WeeklyCycle
240 Name = "WeeklyCycleAfterBackup"
241 Run = Full sun-sat at 23:10
244 # This is the backup of the catalog
251 File = "@working_dir@\\bacula.sql"
255 # Client (File Services) to backup
258 Address = @client_address@
259 FDPort = @client_port@
261 Password = "@client_password@" # password for FileDaemon
262 File Retention = 30 days # 30 days
263 Job Retention = 6 months # six months
264 AutoPrune = yes # Prune expired Jobs/Files
268 # Second Client (File Services) to backup
269 # You should change Name, Address, and Password before using
272 # Name = @client_name@2
273 # Address = @client_address@2
274 # FDPort = @client_port@
275 # Catalog = MyCatalog
276 # Password = "@client_password@2" # password for FileDaemon 2
277 # File Retention = 30 days # 30 days
278 # Job Retention = 6 months # six months
279 # AutoPrune = yes # Prune expired Jobs/Files
283 # Definition of file storage device
286 # Do not use "localhost" here
287 Address = @storage_address@ # N.B. Use a fully qualified name here
288 SDPort = @storage_port@
289 Password = "@storage_password@"
296 # Definition of DDS tape storage device
299 # Do not use "localhost" here
300 # Address = @storage_address@ # N.B. Use a fully qualified name here
301 # SDPort = @storage_port@
302 # Password = "@storage_password@" # password for Storage daemon
303 # Device = DDS-4 # must be same as Device in Storage daemon
304 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
305 # Autochanger = yes # enable for autochanger device
308 # Definition of 8mm tape storage device
311 # Do not use "localhost" here
312 # Address = @storage_address@ # N.B. Use a fully qualified name here
313 # SDPort = @storage_port@
314 # Password = "@storage_password@"
315 # Device = "Exabyte 8mm"
320 # Generic catalog service
323 dbname = bacula; user = bacula; password = ""
326 # Reasonable message delivery -- send most everything to email address
331 # NOTE! If you send to two email or more email addresses, you will need
332 # to replace the %r in the from field (-f part) with a single valid
333 # email address in both the mailcommand and the operatorcommand.
335 mailcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
336 operatorcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
337 mail = @job_email@ = all, !skipped
338 operator = @job_email@ = mount
339 console = all, !skipped, !saved
341 # WARNING! the following will create a file that you must cycle from
342 # time to time as it will grow indefinitely. However, it will
343 # also keep all your messages if they scroll off the console.
345 append = "@working_dir@\\log" = all, !skipped
350 # Message delivery for daemon messages (no job).
353 mailcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
354 mail = @job_email@ = all, !skipped
355 console = all, !skipped, !saved
356 append = "@working_dir@\\log" = all, !skipped
361 # Default pool definition
365 Recycle = yes # Bacula can automatically recycle Volumes
366 AutoPrune = yes # Prune expired volumes
367 Volume Retention = 365 days # one year
370 # Scratch pool definition
377 # Restricted console used by tray-monitor to get the status of the director
380 Name = @monitor_name@
381 Password = "@monitor_password@"
382 CommandACL = status, .status