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"
27 # Define the main nightly save backup job
28 # By default, this job will back up to disk in @tmpdir@
37 Write Bootstrap = "@working_dir@/NightlySave.bsr"
38 Maximum Concurrent Jobs = 4
40 # Prefer Mounted Volumes = no
51 Write Bootstrap = "@working_dir@/NightlySave.bsr"
52 Maximum Concurrent Jobs = 4
54 # Prefer Mounted Volumes = no
55 Client Run Before Job = "/bin/sleep 120"
66 Write Bootstrap = "@working_dir@/NightlySave.bsr"
67 Maximum Concurrent Jobs = 4
69 # Prefer Mounted Volumes = no
75 Level = VolumeToCatalog
81 Write Bootstrap = "@working_dir@/NightlySave.bsr"
82 Maximum Concurrent Jobs = 4
84 # Prefer Mounted Volumes = no
95 Write Bootstrap = "@working_dir@/NightlySave.bsr"
96 Maximum Concurrent Jobs = 4
98 # Prefer Mounted Volumes = no
103 # Standard Restore template, to be changed by Console program
105 Name = "RestoreFiles"
112 Where = @tmpdir@/bacula-restores
116 # List of files to be backed up
119 Include { Options { signature=MD5 }
120 File = <@tmpdir@/file-list
131 File = <@tmpdir@/file-list
138 # When to do the backups, full backup on first sunday of the month,
139 # differential (i.e. incremental since full) every other sunday,
140 # and incremental backups other days
143 Run = Full 1st sun at 1:05
144 Run = Differential 2nd-5th sun at 1:05
145 Run = Incremental mon-sat at 1:05
148 # Client (File Services) to backup
154 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
155 File Retention = 30d # 30 days
156 Job Retention = 180d # six months
157 AutoPrune = yes # Prune expired Jobs/Files
158 Maximum Concurrent Jobs = 4
161 # Definition of DDS tape storage device
164 Address = @hostname@ # N.B. Use a fully qualified name here
166 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
167 Device = DDS-4 # must be same as Device in Storage daemon
168 Media Type = DDS-4 # must be same as MediaType in Storage daemon
169 Maximum Concurrent Jobs = 4
174 # Definition of File storage device
177 Address = @hostname@ # N.B. Use a fully qualified name here
179 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
180 Device = FileStorage # must be same as Device in Storage daemon
181 Media Type = FileMedia # must be same as MediaType in Storage daemon
182 Maximum Concurrent Jobs = 4
185 # Definition of Virtual storage device
188 Address = @hostname@ # N.B. Use a fully qualified name here
190 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
191 Device = Virtual # must be same as Device in Storage daemon
192 Media Type = Disk # must be same as MediaType in Storage daemon
193 Maximum Concurrent Jobs = 4
199 # Generic catalog service
202 dbname = regress; user = regress; password = ""
205 # Reasonable message delivery -- send most everything to email address
209 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
210 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
211 # MailOnError = @job_email@ = all, !terminate
212 # operator = @job_email@ = mount
213 console = all, !skipped, !terminate, !restored
215 # WARNING! the following will create a file that you must cycle from
216 # time to time as it will grow indefinitely. However, it will
217 # also keep all your messages if the scroll off the console.
219 append = "@working_dir@/log" = all, !skipped
223 # Message delivery for daemon messages (no job).
226 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
227 # mail = @job_email@ = all, !skipped
228 console = all, !skipped, !saved
229 append = "@working_dir@/log" = all, !skipped
233 # Default pool definition
237 Recycle = yes # Bacula can automatically recycle Volumes
238 AutoPrune = yes # Prune expired volumes
239 Volume Retention = 365d # one year
245 Recycle = yes # Bacula can automatically recycle Volumes
246 AutoPrune = yes # Prune expired volumes
247 Volume Retention = 365d # one year
253 Recycle = yes # Bacula can automatically recycle Volumes
254 AutoPrune = yes # Prune expired volumes
255 Volume Retention = 365d # one year
261 Recycle = yes # Bacula can automatically recycle Volumes
262 AutoPrune = yes # Prune expired volumes
263 Volume Retention = 365d # one year
264 Recycle Pool = Scratch # recycle back here