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.39
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 # Allow Duplicate Jobs = No
41 # Prefer Mounted Volumes = no
52 Write Bootstrap = "@working_dir@/Save.bsr"
53 Maximum Concurrent Jobs = 4
64 Write Bootstrap = "@working_dir@/migratejob.bsr"
66 Maximum Concurrent Jobs = 4
68 Selection Pattern = ".*Save"
69 # Allow Duplicate Jobs = No
73 Name = "migrate-volume"
80 Write Bootstrap = "@working_dir@/migratevol.bsr"
82 Maximum Concurrent Jobs = 4
83 Selection Type = Volume
84 Selection Pattern = "File*"
85 # Allow Duplicate Jobs = No
89 Name = "copy-uncopied"
96 Write Bootstrap = "@working_dir@/migratevol.bsr"
98 Maximum Concurrent Jobs = 4
99 Selection Type = PoolUncopiedJobs
100 # Allow Duplicate Jobs = No
104 Name = "migrate-occupancy"
110 Storage = DiskChanger
111 Write Bootstrap = "@working_dir@/migratejob.bsr"
113 Maximum Concurrent Jobs = 4
114 Selection Type = PoolOccupancy
115 # Allow Duplicate Jobs = No
119 Name = "migrate-time"
125 Storage = DiskChanger
126 Write Bootstrap = "@working_dir@/migratejob.bsr"
128 Maximum Concurrent Jobs = 4
129 Selection Type = PoolTime
130 # Allow Duplicate Jobs = No
136 # Standard Restore template, to be changed by Console program
138 Name = "RestoreFiles"
145 Where = @tmpdir@/bacula-restores
149 # List of files to be backed up
152 Include { Options { signature=MD5 }
153 File = <@tmpdir@/file-list
159 # When to do the backups, full backup on first sunday of the month,
160 # differential (i.e. incremental since full) every other sunday,
161 # and incremental backups other days
164 Run = Full 1st sun at 1:05
165 Run = Differential 2nd-5th sun at 1:05
166 Run = Incremental mon-sat at 1:05
169 # Client (File Services) to backup
175 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
176 File Retention = 30d # 30 days
177 Job Retention = 180d # six months
178 AutoPrune = yes # Prune expired Jobs/Files
179 Maximum Concurrent Jobs = 4
182 # Definition of DDS Virtual tape disk storage device
185 Address = @hostname@ # N.B. Use a fully qualified name here
187 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
188 Device = DiskChanger # must be same as Device in Storage daemon
189 Media Type = DiskChangerMedia # must be same as MediaType in Storage daemon
190 Maximum Concurrent Jobs = 4
194 # Definition of file storage device
199 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
202 Maximum Concurrent Jobs = 5
206 # Generic catalog service
210 dbname = @db_name@; user = @db_user@; password = "@db_password@"
213 # Reasonable message delivery -- send most everything to email address
217 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
218 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
219 # MailOnError = @job_email@ = all, !terminate
220 # operator = @job_email@ = mount
221 console = all, !skipped, !terminate, !restored
223 # WARNING! the following will create a file that you must cycle from
224 # time to time as it will grow indefinitely. However, it will
225 # also keep all your messages if the scroll off the console.
227 append = "@working_dir@/log" = all, !skipped
228 catalog = all, !skipped
232 # Message delivery for daemon messages (no job).
235 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
236 # mail = @job_email@ = all, !skipped
237 console = all, !skipped, !saved
238 append = "@working_dir@/log" = all, !skipped
239 catalog = all, !skipped
243 # Default pool definition
247 Recycle = yes # Bacula can automatically recycle Volumes
248 AutoPrune = yes # Prune expired volumes
249 Volume Retention = 365d # one year
252 Migration High Bytes = 40M
253 Migration Low Bytes = 20M
260 Recycle = yes # Bacula can automatically recycle Volumes
261 AutoPrune = yes # Prune expired volumes
262 Volume Retention = 365d # one year
265 Migration High Bytes = 40M
266 Migration Low Bytes = 20M
273 Recycle = yes # Bacula can automatically recycle Volumes
274 AutoPrune = yes # Prune expired volumes
275 Volume Retention = 365d # one year
276 Storage = DiskChanger
284 RecyclePool = Scratch