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 or later
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 = 8101 # where we listen for UA connections
18 QueryFile = "@scriptdir@/query.sql"
19 WorkingDirectory = "@working_dir@"
20 PidDirectory = "@piddir@"
21 SubSysDirectory = "@subsysdir@"
22 Maximum Concurrent Jobs = 4
23 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
28 # Define the main nightly save backup job
29 # By default, this job will back up to disk in /tmp
38 Write Bootstrap = "@working_dir@/NightlySave.bsr"
39 Maximum Concurrent Jobs = 4
47 FileSet="SparseCompressedSet"
51 Write Bootstrap = "@working_dir@/NightlySave.bsr"
52 Maximum Concurrent Jobs = 4
65 Write Bootstrap = "@working_dir@/NightlySave.bsr"
72 Level = VolumeToCatalog
78 Write Bootstrap = "@working_dir@/NightlySave.bsr"
90 Write Bootstrap = "@working_dir@/NightlySave.bsr"
94 Name = "CompressedTest"
97 FileSet="CompressedSet"
101 Maximum Concurrent Jobs = 4
102 Write Bootstrap = "@working_dir@/NightlySave.bsr"
106 Name = "SparseCompressedTest"
109 FileSet="SparseCompressedSet"
113 Write Bootstrap = "@working_dir@/NightlySave.bsr"
117 # Backup the catalog database (after the nightly save)
119 Name = "BackupCatalog"
123 # Schedule = "WeeklyCycleAfterBackup"
127 # This creates an ASCII copy of the catalog
128 RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
129 # This deletes the copy of the catalog
130 RunAfterJob = "@sbindir@/delete_catalog_backup"
131 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
134 # Standard Restore template, to be changed by Console program
136 Name = "RestoreFiles"
143 Where = /tmp/bacula-restores
147 # List of files to be backed up
150 Include { Options { signature=MD5 }
151 File = </tmp/file-list
159 signature=MD5 sparse=yes
161 File = </tmp/file-list
166 Name = "CompressedSet"
169 signature=MD5 compression=GZIP
171 File = </tmp/file-list
176 Name = "SparseCompressedSet"
179 signature=MD5 compression=GZIP
182 File = </tmp/file-list
189 # When to do the backups, full backup on first sunday of the month,
190 # differential (i.e. incremental since full) every other sunday,
191 # and incremental backups other days
194 Run = Full 1st sun at 1:05
195 Run = Differential 2nd-5th sun at 1:05
196 Run = Incremental mon-sat at 1:05
199 # This schedule does the catalog. It starts after the WeeklyCycle
201 Name = "WeeklyCycleAfterBackup"
202 Run = Full sun-sat at 1:10
205 # This is the backup of the catalog
212 File = /home/kern/bacula/regress/bin/working/bacula.sql
216 # Client (File Services) to backup
222 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
223 File Retention = 30d # 30 days
224 Job Retention = 180d # six months
225 AutoPrune = yes # Prune expired Jobs/Files
226 Maximum Concurrent Jobs = 4
229 # Definiton of file storage device
232 Address = @hostname@ # N.B. Use a fully qualified name here
234 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
237 Maximum Concurrent Jobs = 4
242 Address = @hostname@ # N.B. Use a fully qualified name here
244 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
245 Device = FileStorage1
247 Maximum Concurrent Jobs = 4
251 # Definition of DLT tape storage device
254 # Address = @hostname@ # N.B. Use a fully qualified name here
256 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
257 # Device = "HP DLT 80" # must be same as Device in Storage daemon
258 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
261 # Definition of DDS tape storage device
264 # Address = @hostname@ # N.B. Use a fully qualified name here
266 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
267 # Device = SDT-10000 # must be same as Device in Storage daemon
268 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
271 # Definition of 8mm tape storage device
274 # Address = @hostname@ # N.B. Use a fully qualified name here
276 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
277 # Device = "Exabyte 8mm"
282 # Generic catalog service
285 dbname = bacula; user = bacula; password = ""
288 # Reasonable message delivery -- send most everything to email address
292 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
293 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
294 MailOnError = @job_email@ = all
295 operator = @job_email@ = mount
296 console = all, !skipped, !terminate, !restored
298 # WARNING! the following will create a file that you must cycle from
299 # time to time as it will grow indefinitely. However, it will
300 # also keep all your messages if the scroll off the console.
302 append = "@working_dir@/log" = all, !skipped
307 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
308 console = all, !skipped, !terminate
310 # WARNING! the following will create a file that you must cycle from
311 # time to time as it will grow indefinitely. However, it will
312 # also keep all your messages if the scroll off the console.
314 append = "@working_dir@/log" = all, !skipped
318 # Default pool definition
322 Recycle = yes # Bacula can automatically recycle Volumes
323 AutoPrune = yes # Prune expired volumes
324 Volume Retention = 365d # one year
325 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"