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 2.1.x
10 # Special conf for testing two tape drives with two different
14 Director { # define myself
16 DIRPort = @dirport@ # where we listen for UA connections
17 QueryFile = "@scriptdir@/query.sql"
18 WorkingDirectory = "@working_dir@"
19 PidDirectory = "@piddir@"
20 Maximum Concurrent Jobs = 4
26 # Define the main nightly save backup job
27 # By default, this job will back up to disk in @tmpdir@
36 Write Bootstrap = "@working_dir@/NightlySave.bsr"
37 Maximum Concurrent Jobs = 4
39 # Prefer Mounted Volumes = no
42 # Standard Restore template, to be changed by Console program
51 Where = @tmpdir@/bacula-restores
55 # List of files to be backed up
58 Include { Options { signature=MD5 }
59 File = <@tmpdir@/file-list
65 # When to do the backups, full backup on first sunday of the month,
66 # differential (i.e. incremental since full) every other sunday,
67 # and incremental backups other days
70 Run = Full 1st sun at 1:05
71 Run = Differential 2nd-5th sun at 1:05
72 Run = Incremental mon-sat at 1:05
75 # Client (File Services) to backup
81 Password = "client-pw"
82 File Retention = 30d # 30 days
83 Job Retention = 180d # six months
84 AutoPrune = yes # Prune expired Jobs/Files
85 Maximum Concurrent Jobs = 4
88 # Definition of DDS tape storage device
91 Address = @hostname@ # N.B. Use a fully qualified name here
93 Password = "storage-pw"
94 Device = DDS-4 # must be same as Device in Storage daemon
95 Media Type = DDS-4 # must be same as MediaType in Storage daemon
96 Maximum Concurrent Jobs = 4
101 # Definition of DLT tape storage device
104 Address = @hostname@ # N.B. Use a fully qualified name here
106 Password = "storage-pw"
107 Device = DLT80 # must be same as Device in Storage daemon
108 Media Type = DLT8000 # must be same as MediaType in Storage daemon
109 Maximum Concurrent Jobs = 4
113 # Generic catalog service
116 dbname = regress; user = regress; password = ""
119 # Reasonable message delivery -- send most everything to email address
123 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
124 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
125 MailOnError = @job_email@ = all, !terminate
126 operator = @job_email@ = mount
127 console = all, !skipped, !terminate, !restored
129 # WARNING! the following will create a file that you must cycle from
130 # time to time as it will grow indefinitely. However, it will
131 # also keep all your messages if the scroll off the console.
133 append = "@working_dir@/log" = all, !skipped
137 # Message delivery for daemon messages (no job).
140 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
141 mail = @job_email@ = all, !skipped
142 console = all, !skipped, !saved
143 append = "@working_dir@/log" = all, !skipped
147 # Default pool definition
151 Recycle = yes # Bacula can automatically recycle Volumes
152 AutoPrune = yes # Prune expired volumes
153 Volume Retention = 365d # one year
159 Recycle = yes # Bacula can automatically recycle Volumes
160 AutoPrune = yes # Prune expired volumes
161 Volume Retention = 365d # one year
167 Recycle = yes # Bacula can automatically recycle Volumes
168 AutoPrune = yes # Prune expired volumes
169 Volume Retention = 365d # one year
175 Recycle = yes # Bacula can automatically recycle Volumes
176 AutoPrune = yes # Prune expired volumes
177 Volume Retention = 365d # one year
178 Recycle Pool = Scratch # recycle back here