2 # Default Bacula Director Configuration file
\r
4 # The only thing that MUST be changed is to add one or more
\r
5 # file or directory names in the Include directive of the
\r
8 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
\r
10 # You might also want to change the default email address
\r
11 # from root to your address. See the "mail" and "operator"
\r
12 # directives in the Messages resource.
\r
15 Director { # define myself
\r
16 Name = @director_name@
\r
17 DIRport = @director_port@ # where we listen for UA connections
\r
18 QueryFile = "@bin_dir@\\query.sql"
\r
19 WorkingDirectory = "@working_dir@"
\r
20 PidDirectory = "@working_dir@"
\r
21 Maximum Concurrent Jobs = @director_maxjobs@
\r
22 Password = "@director_password@" # Console password
\r
30 Client = @client_name@
\r
31 FileSet = "Test Set"
\r
32 Schedule = "WeeklyCycle"
\r
41 # Define the main nightly save backup job
\r
42 # By default, this job will back up to disk in C:/tmp
\r
45 JobDefs = "DefaultJob"
\r
46 Write Bootstrap = "@working_dir@\\Client1.bsr"
\r
51 # Client = @client_name@2
\r
52 # JobDefs = "DefaultJob"
\r
53 # Write Bootstrap = "@working_dir@\\Client2.bsr"
\r
56 # Backup the catalog database (after the nightly save)
\r
58 Name = "BackupCatalog"
\r
59 JobDefs = "DefaultJob"
\r
62 Schedule = "WeeklyCycleAfterBackup"
\r
63 # This creates an ASCII copy of the catalog
\r
64 RunBeforeJob = "\"@bin_dir@\\make_catalog_backup\" bacula bacula"
\r
65 # This deletes the copy of the catalog
\r
66 RunAfterJob = "\"@bin_dir@\\delete_catalog_backup\""
\r
67 Write Bootstrap = "@working_dir@\\BackupCatalog.bsr"
\r
68 Priority = 11 # run after main backup
\r
72 # Standard Restore template, to be changed by Console program
\r
73 # Only one such job is needed for all Jobs/Clients/Storage ...
\r
76 Name = "RestoreFiles"
\r
78 Client=@client_name@
\r
83 Where = "C:\\tmp\\bacula-restores"
\r
87 # Note: Windows path separators do NOT work correctly in FileSets.
\r
89 # List of files to be backed up
\r
98 # Put your list of files here, preceded by 'File =', one per line
\r
99 # or include an external list with:
\r
101 # File = <file-name
\r
103 # Note: C:/ backs up everything on drive C.
\r
104 # if you have other drives such as D:/
\r
105 # you will probably want to add them too.
\r
107 # By default this is defined to point to the Bacula
\r
108 # directory to give a reasonable FileSet to backup to
\r
109 # disk storage during initial testing.
\r
111 File = "@BUILD_DIR@"
\r
115 # If you backup the root directory, the following excluded
\r
116 # files can be useful
\r
129 # This is an example which will backup all the hard drives of a Windows System.
\r
132 Name = "Windows Full Set"
\r
142 # Exclude directories full of lots and lots of useless little files
\r
143 WildDir = "[A-Z]:/Documents and Settings/*/Cookies"
\r
144 WildDir = "[A-Z]:/Documents and Settings/*/Recent"
\r
145 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/History"
\r
146 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/Temp"
\r
147 WildDir = "[A-Z]:/Documents and Settings/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
\r
149 # Exclude directories full of lots and lots of useless little files
\r
150 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/Cookies"
\r
151 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/Recent"
\r
152 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/History"
\r
153 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/Temp"
\r
154 WildDir = "[A-Z]:/{WINNT,Windows}/Profiles/*/{Local Settings,LOCALS~1}/Temporary Internet Files"
\r
156 # Exclude directories full of lots and lots of useless little files
\r
157 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/Cookies"
\r
158 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/Recent"
\r
159 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/History"
\r
160 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/Temp"
\r
161 WildDir = "[A-Z]:/{WINNT,Windows}/system32/config/systemprofile/{Local Settings,LOCALS~1}/Temporary Internet Files"
\r
163 # Some random bits of Windows we want to ignore
\r
164 WildDir = "[A-Z]:/{WINNT,Windows}/Prefetch"
\r
165 WildDir = "[A-Z]:/{WINNT,Windows}/msdownld.tmp"
\r
166 WildDir = "[A-Z]:/{WINNT,Windows}/Internet Logs"
\r
167 WildDir = "[A-Z]:/{WINNT,Windows}/$Nt*Uninstall*"
\r
168 WildDir = "[A-Z]:/{WINNT,Windows}/Downloaded Installations"
\r
170 # Temporary directories & files
\r
171 WildDir = "[A-Z]:/{WINNT,Windows}/Temp"
\r
172 WildDir = "[A-Z]:/Temp"
\r
174 WildDir = "[A-Z]:/tmp"
\r
177 WildFile = "[A-Z]:/ffastun*"
\r
180 WildDir = "[A-Z]:/System Volume Information"
\r
183 WildDir = "[A-Z]:/WUTemp"
\r
186 WildDir = "[A-Z]:/RECYCLE[DR]"
\r
189 WildFile = "[A-Z]:/pagefile.sys"
\r
190 WildFile = "[A-Z]:/hiberfil.sys"
\r
192 # These are programs and are easier to reinstall than restore from
\r
194 WildDir = "[A-Z]:/cygwin"
\r
195 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Java"
\r
196 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Java Web Start"
\r
197 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/JavaSoft"
\r
198 WildDir = "[A-Z]:/{Program Files,PROGRA~1}/Microsoft Office"
\r
229 # When to do the backups, full backup on first sunday of the month,
\r
230 # differential (i.e. incremental since full) every other sunday,
\r
231 # and incremental backups other days
\r
233 Name = "WeeklyCycle"
\r
234 Run = Full 1st sun at 23:05
\r
235 Run = Differential 2nd-5th sun at 23:05
\r
236 Run = Incremental mon-sat at 23:05
\r
239 # This schedule does the catalog. It starts after the WeeklyCycle
\r
241 Name = "WeeklyCycleAfterBackup"
\r
242 Run = Full sun-sat at 23:10
\r
245 # This is the backup of the catalog
\r
252 File = "@working_dir@\\bacula.sql"
\r
256 # Client (File Services) to backup
\r
258 Name = @client_name@
\r
259 Address = @client_address@
\r
260 FDPort = @client_port@
\r
261 Catalog = MyCatalog
\r
262 Password = "@client_password@" # password for FileDaemon
\r
263 File Retention = 30 days # 30 days
\r
264 Job Retention = 6 months # six months
\r
265 AutoPrune = yes # Prune expired Jobs/Files
\r
269 # Second Client (File Services) to backup
\r
270 # You should change Name, Address, and Password before using
\r
273 # Name = @client_name@2
\r
274 # Address = @client_address@2
\r
275 # FDPort = @client_port@
\r
276 # Catalog = MyCatalog
\r
277 # Password = "@client_password@2" # password for FileDaemon 2
\r
278 # File Retention = 30 days # 30 days
\r
279 # Job Retention = 6 months # six months
\r
280 # AutoPrune = yes # Prune expired Jobs/Files
\r
284 # Definition of file storage device
\r
287 # Do not use "localhost" here
\r
288 Address = @storage_address@ # N.B. Use a fully qualified name here
\r
289 SDPort = @storage_port@
\r
290 Password = "@storage_password@"
\r
291 Device = FileStorage
\r
297 # Definition of DDS tape storage device
\r
300 # Do not use "localhost" here
\r
301 # Address = @storage_address@ # N.B. Use a fully qualified name here
\r
302 # SDPort = @storage_port@
\r
303 # Password = "@storage_password@" # password for Storage daemon
\r
304 # Device = DDS-4 # must be same as Device in Storage daemon
\r
305 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
\r
306 # Autochanger = yes # enable for autochanger device
\r
309 # Definition of 8mm tape storage device
\r
311 # Name = "8mmDrive"
\r
312 # Do not use "localhost" here
\r
313 # Address = @storage_address@ # N.B. Use a fully qualified name here
\r
314 # SDPort = @storage_port@
\r
315 # Password = "@storage_password@"
\r
316 # Device = "Exabyte 8mm"
\r
317 # MediaType = "8mm"
\r
321 # Generic catalog service
\r
324 dbname = bacula; user = bacula; password = ""
\r
327 # Reasonable message delivery -- send most everything to email address
\r
328 # and to the console
\r
332 # NOTE! If you send to two email or more email addresses, you will need
\r
333 # to replace the %r in the from field (-f part) with a single valid
\r
334 # email address in both the mailcommand and the operatorcommand.
\r
336 mailcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
\r
337 operatorcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
\r
338 mail = @job_email@ = all, !skipped
\r
339 operator = @job_email@ = mount
\r
340 console = all, !skipped, !saved
\r
342 # WARNING! the following will create a file that you must cycle from
\r
343 # time to time as it will grow indefinitely. However, it will
\r
344 # also keep all your messages if they scroll off the console.
\r
346 append = "@working_dir@\\log" = all, !skipped
\r
351 # Message delivery for daemon messages (no job).
\r
354 mailcommand = "\"@bin_dir@\\bsmtp\" -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
\r
355 mail = @job_email@ = all, !skipped
\r
356 console = all, !skipped, !saved
\r
357 append = "@working_dir@\\log" = all, !skipped
\r
362 # Default pool definition
\r
366 Recycle = yes # Bacula can automatically recycle Volumes
\r
367 AutoPrune = yes # Prune expired volumes
\r
368 Volume Retention = 365 days # one year
\r
371 # Scratch pool definition
\r
378 # Restricted console used by tray-monitor to get the status of the director
\r
381 Name = @monitor_name@
\r
382 Password = "@monitor_password@"
\r
383 CommandACL = status, .status
\r