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.33
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 Maximum Concurrent Jobs = 4
22 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
24 FD Connect Timeout = 2min
28 # Define the main nightly save backup job
29 # By default, this job will back up to disk in @tmpdir@
38 Write Bootstrap = "@working_dir@/NightlySave.bsr"
39 Maximum Concurrent Jobs = 4
41 # Prefer Mounted Volumes = no
46 # Note, this client does not exist so the job will
57 Write Bootstrap = "@working_dir@/NightlySave.bsr"
58 Maximum Concurrent Jobs = 4
61 # Prefer Mounted Volumes = no
73 Write Bootstrap = "@working_dir@/NightlySave.bsr"
74 Maximum Concurrent Jobs = 4
76 # Prefer Mounted Volumes = no
77 Client Run Before Job = "sleep 5"
89 Write Bootstrap = "@working_dir@/NightlySave.bsr"
90 Maximum Concurrent Jobs = 4
92 # Prefer Mounted Volumes = no
99 Level = VolumeToCatalog
105 Write Bootstrap = "@working_dir@/NightlySave.bsr"
106 Maximum Concurrent Jobs = 4
108 # Prefer Mounted Volumes = no
119 Write Bootstrap = "@working_dir@/NightlySave.bsr"
120 Maximum Concurrent Jobs = 4
122 # Prefer Mounted Volumes = no
127 # Standard Restore template, to be changed by Console program
129 Name = "RestoreFiles"
136 Where = @tmpdir@/bacula-restores
140 # List of files to be backed up
143 Include { Options { signature=MD5 }
144 File = <@tmpdir@/file-list
155 File = <@tmpdir@/file-list
162 # When to do the backups, full backup on first sunday of the month,
163 # differential (i.e. incremental since full) every other sunday,
164 # and incremental backups other days
167 Run = Full 1st sun at 1:05
168 Run = Differential 2nd-5th sun at 1:05
169 Run = Incremental mon-sat at 1:05
172 # Client (File Services) to backup
178 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
179 File Retention = 30d # 30 days
180 Job Retention = 180d # six months
181 AutoPrune = yes # Prune expired Jobs/Files
182 Maximum Concurrent Jobs = 4
186 Name = @hostname@-fd1
188 FDPort = 1@fdport@ # nothing should be on this port!!!!!
190 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
191 File Retention = 30d # 30 days
192 Job Retention = 180d # six months
193 AutoPrune = yes # Prune expired Jobs/Files
194 Maximum Concurrent Jobs = 4
198 # Definition of DDS tape storage device
201 Address = @hostname@ # N.B. Use a fully qualified name here
203 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
204 Device = tape # must be same as Device in Storage daemon
205 Media Type = tape # must be same as MediaType in Storage daemon
206 Maximum Concurrent Jobs = 4
211 # Definition of File storage device
214 Address = @hostname@ # N.B. Use a fully qualified name here
216 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
217 Device = FileStorage # must be same as Device in Storage daemon
218 Media Type = FileMedia # must be same as MediaType in Storage daemon
219 Maximum Concurrent Jobs = 4
222 # Definition of Virtual storage device
225 Address = @hostname@ # N.B. Use a fully qualified name here
227 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
228 Device = Virtual # must be same as Device in Storage daemon
229 Media Type = Disk # must be same as MediaType in Storage daemon
230 Maximum Concurrent Jobs = 4
236 # Generic catalog service
240 dbname = @db_name@; user = @db_user@; password = "@db_password@"
243 # Reasonable message delivery -- send most everything to email address
247 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
248 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
249 # MailOnError = @job_email@ = all, !terminate
250 # operator = @job_email@ = mount
251 console = all, !skipped, !terminate, !restored
253 # WARNING! the following will create a file that you must cycle from
254 # time to time as it will grow indefinitely. However, it will
255 # also keep all your messages if the scroll off the console.
257 append = "@working_dir@/log" = all, !skipped
258 catalog = all, !skipped
262 # Message delivery for daemon messages (no job).
265 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
266 # mail = @job_email@ = all, !skipped
267 console = all, !skipped, !saved
268 append = "@working_dir@/log" = all, !skipped
269 catalog = all, !skipped
273 # Default pool definition
277 Recycle = yes # Bacula can automatically recycle Volumes
278 AutoPrune = yes # Prune expired volumes
279 Volume Retention = 365d # one year
285 Recycle = yes # Bacula can automatically recycle Volumes
286 AutoPrune = yes # Prune expired volumes
287 Volume Retention = 365d # one year
293 Recycle = yes # Bacula can automatically recycle Volumes
294 AutoPrune = yes # Prune expired volumes
295 Volume Retention = 365d # one year
301 Recycle = yes # Bacula can automatically recycle Volumes
302 AutoPrune = yes # Prune expired volumes
303 Volume Retention = 365d # one year
304 Recycle Pool = Scratch # recycle back here