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
51 Write Bootstrap = "@working_dir@/NightlySave.bsr"
58 Level = VolumeToCatalog
64 Write Bootstrap = "@working_dir@/NightlySave.bsr"
76 Write Bootstrap = "@working_dir@/NightlySave.bsr"
80 Name = "CompressedTest"
83 FileSet="CompressedSet"
87 Maximum Concurrent Jobs = 4
88 Write Bootstrap = "@working_dir@/NightlySave.bsr"
92 Name = "SparseCompressedTest"
95 FileSet="SparseCompressedSet"
99 Write Bootstrap = "@working_dir@/NightlySave.bsr"
103 # Backup the catalog database (after the nightly save)
105 Name = "BackupCatalog"
109 # Schedule = "WeeklyCycleAfterBackup"
113 # This creates an ASCII copy of the catalog
114 RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
115 # This deletes the copy of the catalog
116 RunAfterJob = "@sbindir@/delete_catalog_backup"
117 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
130 JobDefs = "BackupJob"
131 Name = "bug621-job-1"
132 Client = @hostname@-fd
134 ClientRunBeforeJob = "/bin/sleep 60"
138 JobDefs = "BackupJob"
139 Name = "bug621-job-2"
140 Client = @hostname@-fd
147 # Standard Restore template, to be changed by Console program
149 Name = "RestoreFiles"
156 Where = /tmp/bacula-restores
160 # List of files to be backed up
163 Include { Options { signature=MD5 }
164 File = </tmp/file-list
175 File = </tmp/file-list
180 Name = "CompressedSet"
186 File = </tmp/file-list
191 Name = "SparseCompressedSet"
198 File = </tmp/file-list
205 # When to do the backups, full backup on first sunday of the month,
206 # differential (i.e. incremental since full) every other sunday,
207 # and incremental backups other days
210 Run = Level=Full 1st sun at 1:05
211 Run = Level=Differential 2nd-5th sun at 1:05
212 Run = Level=Incremental mon-sat at 1:05
215 # This schedule does the catalog. It starts after the WeeklyCycle
217 Name = "WeeklyCycleAfterBackup"
218 Run = Level=Full sun-sat at 1:10
221 # This is the backup of the catalog
228 File = /home/kern/bacula/regress/bin/working/bacula.sql
232 # Client (File Services) to backup
238 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
239 File Retention = 30d # 30 days
240 Job Retention = 180d # six months
241 AutoPrune = yes # Prune expired Jobs/Files
242 Maximum Concurrent Jobs = 4
245 # Definiton of file storage device
248 Address = @hostname@ # N.B. Use a fully qualified name here
250 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
253 Maximum Concurrent Jobs = 4
258 Address = @hostname@ # N.B. Use a fully qualified name here
260 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
261 Device = FileStorage1
263 Maximum Concurrent Jobs = 4
267 # Definition of DLT tape storage device
270 # Address = @hostname@ # N.B. Use a fully qualified name here
272 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
273 # Device = "HP DLT 80" # must be same as Device in Storage daemon
274 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
277 # Definition of DDS tape storage device
280 # Address = @hostname@ # N.B. Use a fully qualified name here
282 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
283 # Device = SDT-10000 # must be same as Device in Storage daemon
284 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
287 # Definition of 8mm tape storage device
290 # Address = @hostname@ # N.B. Use a fully qualified name here
292 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
293 # Device = "Exabyte 8mm"
298 # Generic catalog service
301 dbname = bacula; user = bacula; password = ""
304 # Reasonable message delivery -- send most everything to email address
308 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
309 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
310 MailOnError = @job_email@ = all
311 operator = @job_email@ = mount
312 console = all, !skipped, !terminate, !restored
314 # WARNING! the following will create a file that you must cycle from
315 # time to time as it will grow indefinitely. However, it will
316 # also keep all your messages if the scroll off the console.
318 append = "@working_dir@/log" = all, !skipped
323 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
324 console = all, !skipped, !terminate
326 # WARNING! the following will create a file that you must cycle from
327 # time to time as it will grow indefinitely. However, it will
328 # also keep all your messages if the scroll off the console.
330 append = "@working_dir@/log" = all, !skipped
334 # Default pool definition
338 Recycle = yes # Bacula can automatically recycle Volumes
339 AutoPrune = yes # Prune expired volumes
340 Volume Retention = 365d # one year
341 # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"