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@/migratejob.bsr"
54 Maximum Concurrent Jobs = 4
56 Selection Pattern = ".*Save"
57 # Allow Duplicate Jobs = No
61 Name = "migrate-volume"
68 Write Bootstrap = "@working_dir@/migratevol.bsr"
70 Maximum Concurrent Jobs = 4
71 Selection Type = Volume
72 Selection Pattern = "File*"
73 # Allow Duplicate Jobs = No
77 Name = "copy-uncopied"
84 Write Bootstrap = "@working_dir@/migratevol.bsr"
86 Maximum Concurrent Jobs = 4
87 Selection Type = PoolUncopiedJobs
88 # Allow Duplicate Jobs = No
92 Name = "migrate-occupancy"
99 Write Bootstrap = "@working_dir@/migratejob.bsr"
101 Maximum Concurrent Jobs = 4
102 Selection Type = PoolOccupancy
103 # Allow Duplicate Jobs = No
107 Name = "migrate-time"
113 Storage = DiskChanger
114 Write Bootstrap = "@working_dir@/migratejob.bsr"
116 Maximum Concurrent Jobs = 4
117 Selection Type = PoolTime
118 # Allow Duplicate Jobs = No
124 # Standard Restore template, to be changed by Console program
126 Name = "RestoreFiles"
133 Where = @tmpdir@/bacula-restores
137 # List of files to be backed up
140 Include { Options { signature=MD5 }
141 File = <@tmpdir@/file-list
147 # When to do the backups, full backup on first sunday of the month,
148 # differential (i.e. incremental since full) every other sunday,
149 # and incremental backups other days
152 Run = Full 1st sun at 1:05
153 Run = Differential 2nd-5th sun at 1:05
154 Run = Incremental mon-sat at 1:05
157 # Client (File Services) to backup
163 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
164 File Retention = 30d # 30 days
165 Job Retention = 180d # six months
166 AutoPrune = yes # Prune expired Jobs/Files
167 Maximum Concurrent Jobs = 4
170 # Definition of DDS Virtual tape disk storage device
173 Address = @hostname@ # N.B. Use a fully qualified name here
175 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
176 Device = DiskChanger # must be same as Device in Storage daemon
177 Media Type = DiskChangerMedia # must be same as MediaType in Storage daemon
178 Maximum Concurrent Jobs = 4
182 # Definition of file storage device
187 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
190 Maximum Concurrent Jobs = 5
194 # Generic catalog service
198 dbname = @db_name@; user = @db_user@; password = "@db_password@"
201 # Reasonable message delivery -- send most everything to email address
205 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
206 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
207 # MailOnError = @job_email@ = all, !terminate
208 # operator = @job_email@ = mount
209 console = all, !skipped, !terminate, !restored
211 # WARNING! the following will create a file that you must cycle from
212 # time to time as it will grow indefinitely. However, it will
213 # also keep all your messages if the scroll off the console.
215 append = "@working_dir@/log" = all, !skipped
216 catalog = all, !skipped
220 # Message delivery for daemon messages (no job).
223 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
224 # mail = @job_email@ = all, !skipped
225 console = all, !skipped, !saved
226 append = "@working_dir@/log" = all, !skipped
227 catalog = all, !skipped
231 # Default pool definition
235 Recycle = yes # Bacula can automatically recycle Volumes
236 AutoPrune = yes # Prune expired volumes
237 Volume Retention = 365d # one year
240 Migration High Bytes = 40M
241 Migration Low Bytes = 20M
248 Recycle = yes # Bacula can automatically recycle Volumes
249 AutoPrune = yes # Prune expired volumes
250 Volume Retention = 365d # one year
253 Migration High Bytes = 40M
254 Migration Low Bytes = 20M
261 Recycle = yes # Bacula can automatically recycle Volumes
262 AutoPrune = yes # Prune expired volumes
263 Volume Retention = 365d # one year
264 Storage = DiskChanger
272 RecyclePool = Scratch