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 @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
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
16 Name = @director_name@
17 DIRport = @director_port@ # where we listen for UA connections
18 QueryFile = "@bin_dir@\\query.sql"
19 WorkingDirectory = "@working_dir@"
20 PidDirectory = "@working_dir@"
21 Maximum Concurrent Jobs = @director_maxjobs@
22 Password = "@director_password@" # Console password
30 Client = @client_name@
32 Schedule = "WeeklyCycle"
41 # Define the main nightly save backup job
42 # By default, this job will back up to disk in C:/tmp
45 JobDefs = "DefaultJob"
46 Write Bootstrap = "@working_dir@\\Client1.bsr"
51 # Client = @client_name@2
52 # JobDefs = "DefaultJob"
53 # Write Bootstrap = "@working_dir@\\Client2.bsr"
56 # Backup the catalog database (after the nightly save)
58 Name = "BackupCatalog"
59 JobDefs = "DefaultJob"
62 Schedule = "WeeklyCycleAfterBackup"
63 # This creates an ASCII copy of the catalog
64 RunBeforeJob = "\"@bin_dir@\\make_catalog_backup\" bacula bacula"
65 # This deletes the copy of the catalog
66 RunAfterJob = "\"@bin_dir@\\delete_catalog_backup\""
67 Write Bootstrap = "@working_dir@\\BackupCatalog.bsr"
68 Priority = 11 # run after main backup
72 # Standard Restore template, to be changed by Console program
73 # Only one such job is needed for all Jobs/Clients/Storage ...
83 Where = "C:\\tmp\\bacula-restores"
87 # Note: Windows path separators do NOT work correctly in FileSets.
89 # List of files to be backed up
98 # Put your list of files here, preceded by 'File =', one per line
99 # or include an external list with:
103 # Note: C:/ backs up everything on drive C.
104 # if you have other drives such as D:/
105 # you will probably want to add them too.
107 # By default this is defined to point to the Bacula
108 # directory to give a reasonable FileSet to backup to
109 # disk storage during initial testing.
115 # If you backup the root directory, the following excluded
116 # files can be useful
125 # This is an example which will backup all the hard drives of a Windows System.
128 Name = "Windows Full Set"
138 # Exclude directories full of lots and lots of useless little files
139 WildDir = "[A-Z]:/Documents and Settings/*/Cookies"
140 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
141 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/History"
142 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/Temp"
143 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
145 # Exclude directories full of lots and lots of useless little files
146 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/Cookies"
147 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/Recent"
148 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/History"
149 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/Temp"
150 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
152 # Exclude directories full of lots and lots of useless little files
153 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/Cookies"
154 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/Recent"
155 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/History"
156 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/Temp"
157 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/Temporary Internet Files"
159 # Some random bits of Windows we want to ignore
160 WildDir = "[A-Z]:/{WINNT,Windows}/Prefetch"
161 WildDir = "[A-Z]:/{WINNT,Windows}/msdownld.tmp"
162 WildDir = "[A-Z]:/{WINNT,Windows}/Internet Logs"
163 WildDir = "[A-Z]:/{WINNT,Windows}/$Nt*Uninstall*"
164 WildDir = "[A-Z]:/{WINNT,Windows}/Downloaded Installations"
166 # Temporary directories & files
167 WildDir = "[A-Z]:/{WINNT,Windows}/Temp"
168 WildDir = "[A-Z]:/Temp"
170 WildDir = "[A-Z]:/tmp"
173 WildFile = "[A-Z]:/ffastun*"
176 WildDir = "[A-Z]:/System Volume Information"
179 WildDir = "[A-Z]:/WUTemp"
182 WildDir = "[A-Z]:/RECYCLE[DR]"
185 WildFile = "[A-Z]:/pagefile.sys"
186 WildFile = "[A-Z]:/hiberfil.sys"
188 # These are programs and are easier to reinstall than restore from
190 WildDir = "[A-Z]:/cygwin"
191 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Java"
192 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Java Web Start"
193 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/JavaSoft"
194 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Microsoft Office"
225 # When to do the backups, full backup on first sunday of the month,
226 # differential (i.e. incremental since full) every other sunday,
227 # and incremental backups other days
230 Run = Full 1st sun at 23:05
231 Run = Differential 2nd-5th sun at 23:05
232 Run = Incremental mon-sat at 23:05
235 # This schedule does the catalog. It starts after the WeeklyCycle
237 Name = "WeeklyCycleAfterBackup"
238 Run = Full sun-sat at 23:10
241 # This is the backup of the catalog
248 File = "@working_dir@\\bacula.sql"
252 # Client (File Services) to backup
255 Address = @client_address@
256 FDPort = @client_port@
258 Password = "@client_password@" # password for FileDaemon
259 File Retention = 30 days # 30 days
260 Job Retention = 6 months # six months
261 AutoPrune = yes # Prune expired Jobs/Files
265 # Second Client (File Services) to backup
266 # You should change Name, Address, and Password before using
269 # Name = @client_name@2
270 # Address = @client_address@2
271 # FDPort = @client_port@
272 # Catalog = MyCatalog
273 # Password = "@client_password@2" # password for FileDaemon 2
274 # File Retention = 30 days # 30 days
275 # Job Retention = 6 months # six months
276 # AutoPrune = yes # Prune expired Jobs/Files
280 # Definition of file storage device
283 # Do not use "localhost" here
284 Address = @storage_address@ # N.B. Use a fully qualified name here
285 SDPort = @storage_port@
286 Password = "@storage_password@"
293 # Definition of DDS tape storage device
296 # Do not use "localhost" here
297 # Address = @storage_address@ # N.B. Use a fully qualified name here
298 # SDPort = @storage_port@
299 # Password = "@storage_password@" # password for Storage daemon
300 # Device = DDS-4 # must be same as Device in Storage daemon
301 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
302 # Autochanger = yes # enable for autochanger device
305 # Definition of 8mm tape storage device
308 # Do not use "localhost" here
309 # Address = @storage_address@ # N.B. Use a fully qualified name here
310 # SDPort = @storage_port@
311 # Password = "@storage_password@"
312 # Device = "Exabyte 8mm"
317 # Generic catalog service
320 dbname = bacula; user = bacula; password = ""
323 # Reasonable message delivery -- send most everything to email address
328 # NOTE! If you send to two email or more email addresses, you will need
329 # to replace the %r in the from field (-f part) with a single valid
330 # email address in both the mailcommand and the operatorcommand.
332 mailcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
333 operatorcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
334 mail = @job_email@ = all, !skipped
335 operator = @job_email@ = mount
336 console = all, !skipped, !saved
338 # WARNING! the following will create a file that you must cycle from
339 # time to time as it will grow indefinitely. However, it will
340 # also keep all your messages if they scroll off the console.
342 append = "@working_dir@\\log" = all, !skipped
347 # Message delivery for daemon messages (no job).
350 mailcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
351 mail = @job_email@ = all, !skipped
352 console = all, !skipped, !saved
353 append = "@working_dir@\\log" = all, !skipped
358 # Default pool definition
362 Recycle = yes # Bacula can automatically recycle Volumes
363 AutoPrune = yes # Prune expired volumes
364 Volume Retention = 365 days # one year
367 # Scratch pool definition
374 # Restricted console used by tray-monitor to get the status of the director
377 Name = @monitor_name@
378 Password = "@monitor_password@"
379 CommandACL = status, .status