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
45 # Note, this client does not exist so the job will
56 Write Bootstrap = "@working_dir@/NightlySave.bsr"
57 Maximum Concurrent Jobs = 4
59 # Prefer Mounted Volumes = no
71 Write Bootstrap = "@working_dir@/NightlySave.bsr"
72 Maximum Concurrent Jobs = 4
74 # Prefer Mounted Volumes = no
75 Client Run Before Job = "/bin/sleep 10"
86 Write Bootstrap = "@working_dir@/NightlySave.bsr"
87 Maximum Concurrent Jobs = 4
89 # Prefer Mounted Volumes = no
95 Level = VolumeToCatalog
101 Write Bootstrap = "@working_dir@/NightlySave.bsr"
102 Maximum Concurrent Jobs = 4
104 # Prefer Mounted Volumes = no
115 Write Bootstrap = "@working_dir@/NightlySave.bsr"
116 Maximum Concurrent Jobs = 4
118 # Prefer Mounted Volumes = no
123 # Standard Restore template, to be changed by Console program
125 Name = "RestoreFiles"
132 Where = @tmpdir@/bacula-restores
136 # List of files to be backed up
139 Include { Options { signature=MD5 }
140 File = <@tmpdir@/file-list
151 File = <@tmpdir@/file-list
158 # When to do the backups, full backup on first sunday of the month,
159 # differential (i.e. incremental since full) every other sunday,
160 # and incremental backups other days
163 Run = Full 1st sun at 1:05
164 Run = Differential 2nd-5th sun at 1:05
165 Run = Incremental mon-sat at 1:05
168 # Client (File Services) to backup
174 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
175 File Retention = 30d # 30 days
176 Job Retention = 180d # six months
177 AutoPrune = yes # Prune expired Jobs/Files
178 Maximum Concurrent Jobs = 4
182 Name = @hostname@-fd1
184 FDPort = 1@fdport@ # nothing should be on this port!!!!!
186 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
187 File Retention = 30d # 30 days
188 Job Retention = 180d # six months
189 AutoPrune = yes # Prune expired Jobs/Files
190 Maximum Concurrent Jobs = 4
194 # Definition of DDS tape storage device
197 Address = @hostname@ # N.B. Use a fully qualified name here
199 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
200 Device = DDS-4 # must be same as Device in Storage daemon
201 Media Type = DDS-4 # must be same as MediaType in Storage daemon
202 Maximum Concurrent Jobs = 4
207 # Definition of File storage device
210 Address = @hostname@ # N.B. Use a fully qualified name here
212 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
213 Device = FileStorage # must be same as Device in Storage daemon
214 Media Type = FileMedia # must be same as MediaType in Storage daemon
215 Maximum Concurrent Jobs = 4
218 # Definition of Virtual storage device
221 Address = @hostname@ # N.B. Use a fully qualified name here
223 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
224 Device = Virtual # must be same as Device in Storage daemon
225 Media Type = Disk # must be same as MediaType in Storage daemon
226 Maximum Concurrent Jobs = 4
232 # Generic catalog service
236 dbname = @db_name@; user = @db_user@; password = "@db_password@"
239 # Reasonable message delivery -- send most everything to email address
243 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
244 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
245 # MailOnError = @job_email@ = all, !terminate
246 # operator = @job_email@ = mount
247 console = all, !skipped, !terminate, !restored
249 # WARNING! the following will create a file that you must cycle from
250 # time to time as it will grow indefinitely. However, it will
251 # also keep all your messages if the scroll off the console.
253 append = "@working_dir@/log" = all, !skipped
254 catalog = all, !skipped
258 # Message delivery for daemon messages (no job).
261 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
262 # mail = @job_email@ = all, !skipped
263 console = all, !skipped, !saved
264 append = "@working_dir@/log" = all, !skipped
265 catalog = all, !skipped
269 # Default pool definition
273 Recycle = yes # Bacula can automatically recycle Volumes
274 AutoPrune = yes # Prune expired volumes
275 Volume Retention = 365d # one year
281 Recycle = yes # Bacula can automatically recycle Volumes
282 AutoPrune = yes # Prune expired volumes
283 Volume Retention = 365d # one year
289 Recycle = yes # Bacula can automatically recycle Volumes
290 AutoPrune = yes # Prune expired volumes
291 Volume Retention = 365d # one year
297 Recycle = yes # Bacula can automatically recycle Volumes
298 AutoPrune = yes # Prune expired volumes
299 Volume Retention = 365d # one year
300 Recycle Pool = Scratch # recycle back here