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 # Prefer Mounted Volumes = no
51 Write Bootstrap = "@working_dir@/migratejob.bsr"
53 Maximum Concurrent Jobs = 4
55 Selection Pattern = ".*Save"
59 Name = "migrate-volume"
66 Write Bootstrap = "@working_dir@/migratevol.bsr"
68 Maximum Concurrent Jobs = 4
69 Selection Type = Volume
70 Selection Pattern = "File*"
74 Name = "copy-uncopied"
81 Write Bootstrap = "@working_dir@/migratevol.bsr"
83 Maximum Concurrent Jobs = 4
84 Selection Type = PoolUncopiedJobs
88 Name = "migrate-occupancy"
95 Write Bootstrap = "@working_dir@/migratejob.bsr"
97 Maximum Concurrent Jobs = 4
98 Selection Type = PoolOccupancy
102 Name = "migrate-time"
108 Storage = DiskChanger
109 Write Bootstrap = "@working_dir@/migratejob.bsr"
111 Maximum Concurrent Jobs = 4
112 Selection Type = PoolTime
118 # Standard Restore template, to be changed by Console program
120 Name = "RestoreFiles"
127 Where = @tmpdir@/bacula-restores
131 # List of files to be backed up
134 Include { Options { signature=MD5 }
135 File = <@tmpdir@/file-list
141 # When to do the backups, full backup on first sunday of the month,
142 # differential (i.e. incremental since full) every other sunday,
143 # and incremental backups other days
146 Run = Full 1st sun at 1:05
147 Run = Differential 2nd-5th sun at 1:05
148 Run = Incremental mon-sat at 1:05
151 # Client (File Services) to backup
157 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
158 File Retention = 30d # 30 days
159 Job Retention = 180d # six months
160 AutoPrune = yes # Prune expired Jobs/Files
161 Maximum Concurrent Jobs = 4
164 # Definition of DDS Virtual tape disk storage device
167 Address = @hostname@ # N.B. Use a fully qualified name here
169 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
170 Device = DiskChanger # must be same as Device in Storage daemon
171 Media Type = DiskChangerMedia # must be same as MediaType in Storage daemon
172 Maximum Concurrent Jobs = 4
176 # Definition of file storage device
181 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
184 Maximum Concurrent Jobs = 5
188 # Generic catalog service
192 dbname = @db_name@; user = @db_user@; password = "@db_password@"
195 # Reasonable message delivery -- send most everything to email address
199 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
200 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
201 # MailOnError = @job_email@ = all, !terminate
202 # operator = @job_email@ = mount
203 console = all, !skipped, !terminate, !restored
205 # WARNING! the following will create a file that you must cycle from
206 # time to time as it will grow indefinitely. However, it will
207 # also keep all your messages if the scroll off the console.
209 append = "@working_dir@/log" = all, !skipped
210 catalog = all, !skipped
214 # Message delivery for daemon messages (no job).
217 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
218 # mail = @job_email@ = all, !skipped
219 console = all, !skipped, !saved
220 append = "@working_dir@/log" = all, !skipped
221 catalog = all, !skipped
225 # Default pool definition
229 Recycle = yes # Bacula can automatically recycle Volumes
230 AutoPrune = yes # Prune expired volumes
231 Volume Retention = 365d # one year
234 Migration High Bytes = 40M
235 Migration Low Bytes = 20M
242 Recycle = yes # Bacula can automatically recycle Volumes
243 AutoPrune = yes # Prune expired volumes
244 Volume Retention = 365d # one year
247 Migration High Bytes = 40M
248 Migration Low Bytes = 20M
255 Recycle = yes # Bacula can automatically recycle Volumes
256 AutoPrune = yes # Prune expired volumes
257 Volume Retention = 365d # one year
258 Storage = DiskChanger
266 RecyclePool = Scratch