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 = 100
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@
33 Client = @hostname@-fd
38 Write Bootstrap = "@working_dir@/NightlySave.bsr"
39 Maximum Concurrent Jobs = 100
41 # Prefer Mounted Volumes = no
49 Client = @hostname@-fd
54 Write Bootstrap = "@working_dir@/NightlySave.bsr"
55 Maximum Concurrent Jobs = 100
57 # Prefer Mounted Volumes = no
58 Client Run Before Job = "/bin/sleep 10"
70 Write Bootstrap = "@working_dir@/NightlySave.bsr"
71 Maximum Concurrent Jobs = 100
73 # Prefer Mounted Volumes = no
80 Level = VolumeToCatalog
86 Write Bootstrap = "@working_dir@/NightlySave.bsr"
87 Maximum Concurrent Jobs = 100
89 # Prefer Mounted Volumes = no
101 Write Bootstrap = "@working_dir@/NightlySave.bsr"
102 Maximum Concurrent Jobs = 100
104 # Prefer Mounted Volumes = no
110 # Standard Restore template, to be changed by Console program
112 Name = "RestoreFiles"
119 Where = @tmpdir@/bacula-restores
124 # List of files to be backed up
127 Include { Options { signature=MD5 }
128 File = <@tmpdir@/file-list
139 File = <@tmpdir@/file-list
146 # When to do the backups, full backup on first sunday of the month,
147 # differential (i.e. incremental since full) every other sunday,
148 # and incremental backups other days
151 Run = Full 1st sun at 1:05
152 Run = Differential 2nd-5th sun at 1:05
153 Run = Incremental mon-sat at 1:05
156 # Client (File Services) to backup
162 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
163 File Retention = 30d # 30 days
164 Job Retention = 180d # six months
165 AutoPrune = yes # Prune expired Jobs/Files
166 Maximum Concurrent Jobs = 100
169 # Definition of DDS tape storage device
172 Address = @hostname@ # N.B. Use a fully qualified name here
174 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
175 Device = tape # must be same as Device in Storage daemon
176 Media Type = tape # must be same as MediaType in Storage daemon
177 Maximum Concurrent Jobs = 100
182 # Definition of File storage device
185 Address = @hostname@ # N.B. Use a fully qualified name here
187 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
188 Device = FileStorage # must be same as Device in Storage daemon
189 Media Type = FileMedia # must be same as MediaType in Storage daemon
190 Maximum Concurrent Jobs = 100
193 # Definition of Virtual storage device
196 Address = @hostname@ # N.B. Use a fully qualified name here
198 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
199 Device = Virtual # must be same as Device in Storage daemon
200 Media Type = Disk # must be same as MediaType in Storage daemon
201 Maximum Concurrent Jobs = 100
208 # Generic catalog service
212 dbname = @db_name@; user = @db_user@; password = "@db_password@"
215 # Reasonable message delivery -- send most everything to email address
219 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
220 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
221 # MailOnError = @job_email@ = all, !terminate
222 # operator = @job_email@ = mount
223 console = all, !skipped, !terminate, !restored
225 # WARNING! the following will create a file that you must cycle from
226 # time to time as it will grow indefinitely. However, it will
227 # also keep all your messages if the scroll off the console.
229 append = "@working_dir@/log" = all, !skipped
230 catalog = all, !skipped
234 # Message delivery for daemon messages (no job).
237 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
238 # mail = @job_email@ = all, !skipped
239 console = all, !skipped, !saved
240 append = "@working_dir@/log" = all, !skipped
241 catalog = all, !skipped
245 # Default pool definition
249 Recycle = yes # Bacula can automatically recycle Volumes
250 AutoPrune = yes # Prune expired volumes
251 Volume Retention = 365d # one year
252 RecyclePool=Scratch # test forward reference
258 Recycle = yes # Bacula can automatically recycle Volumes
259 AutoPrune = yes # Prune expired volumes
260 Volume Retention = 365d # one year
266 Recycle = yes # Bacula can automatically recycle Volumes
267 AutoPrune = yes # Prune expired volumes
268 Volume Retention = 365d # one year
274 Recycle = yes # Bacula can automatically recycle Volumes
275 AutoPrune = yes # Prune expired volumes
276 Volume Retention = 365d # one year
277 Recycle Pool = Scratch # recycle back here
283 Recycle = yes # Bacula can automatically recycle Volumes
284 AutoPrune = yes # Prune expired volumes
285 Volume Retention = 365d # one year
286 ScratchPool = SpecialScratch
287 Maximum Volume Jobs = 1
291 Name = SpecialScratch
293 Recycle = yes # Bacula can automatically recycle Volumes
294 AutoPrune = yes # Prune expired volumes
295 Volume Retention = 365d # one year
296 Recycle Pool = SpecialScratch # recycle back here