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@
33 Client = @hostname@-fd
38 Write Bootstrap = "@working_dir@/NightlySave.bsr"
39 Maximum Concurrent Jobs = 4
41 # Prefer Mounted Volumes = no
48 Client = @hostname@-fd
53 Write Bootstrap = "@working_dir@/NightlySave.bsr"
54 Maximum Concurrent Jobs = 4
56 # Prefer Mounted Volumes = no
57 Client Run Before Job = "/bin/sleep 10"
68 Write Bootstrap = "@working_dir@/NightlySave.bsr"
69 Maximum Concurrent Jobs = 4
71 # Prefer Mounted Volumes = no
77 Level = VolumeToCatalog
83 Write Bootstrap = "@working_dir@/NightlySave.bsr"
84 Maximum Concurrent Jobs = 4
86 # Prefer Mounted Volumes = no
97 Write Bootstrap = "@working_dir@/NightlySave.bsr"
98 Maximum Concurrent Jobs = 4
100 # Prefer Mounted Volumes = no
105 # Standard Restore template, to be changed by Console program
107 Name = "RestoreFiles"
114 Where = @tmpdir@/bacula-restores
118 # List of files to be backed up
121 Include { Options { signature=MD5 }
122 File = <@tmpdir@/file-list
133 File = <@tmpdir@/file-list
140 # When to do the backups, full backup on first sunday of the month,
141 # differential (i.e. incremental since full) every other sunday,
142 # and incremental backups other days
145 Run = Full 1st sun at 1:05
146 Run = Differential 2nd-5th sun at 1:05
147 Run = Incremental mon-sat at 1:05
150 # Client (File Services) to backup
156 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
157 File Retention = 30d # 30 days
158 Job Retention = 180d # six months
159 AutoPrune = yes # Prune expired Jobs/Files
160 Maximum Concurrent Jobs = 4
163 # Definition of DDS tape storage device
166 Address = @hostname@ # N.B. Use a fully qualified name here
168 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
169 Device = DDS-4 # must be same as Device in Storage daemon
170 Media Type = DDS-4 # must be same as MediaType in Storage daemon
171 Maximum Concurrent Jobs = 4
176 # Definition of File storage device
179 Address = @hostname@ # N.B. Use a fully qualified name here
181 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
182 Device = FileStorage # must be same as Device in Storage daemon
183 Media Type = FileMedia # must be same as MediaType in Storage daemon
184 Maximum Concurrent Jobs = 4
187 # Definition of Virtual storage device
190 Address = @hostname@ # N.B. Use a fully qualified name here
192 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
193 Device = Virtual # must be same as Device in Storage daemon
194 Media Type = Disk # must be same as MediaType in Storage daemon
195 Maximum Concurrent Jobs = 4
201 # Generic catalog service
205 dbname = @db_name@; user = @db_user@; password = "@db_password@"
208 # Reasonable message delivery -- send most everything to email address
212 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
213 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
214 # MailOnError = @job_email@ = all, !terminate
215 # operator = @job_email@ = mount
216 console = all, !skipped, !terminate, !restored
218 # WARNING! the following will create a file that you must cycle from
219 # time to time as it will grow indefinitely. However, it will
220 # also keep all your messages if the scroll off the console.
222 append = "@working_dir@/log" = all, !skipped
223 catalog = all, !skipped
227 # Message delivery for daemon messages (no job).
230 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
231 # mail = @job_email@ = all, !skipped
232 console = all, !skipped, !saved
233 append = "@working_dir@/log" = all, !skipped
234 catalog = all, !skipped
238 # Default pool definition
242 Recycle = yes # Bacula can automatically recycle Volumes
243 AutoPrune = yes # Prune expired volumes
244 Volume Retention = 365d # one year
250 Recycle = yes # Bacula can automatically recycle Volumes
251 AutoPrune = yes # Prune expired volumes
252 Volume Retention = 365d # one year
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
269 Recycle Pool = Scratch # recycle back here