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
43 # Standard Restore template, to be changed by Console program
52 Where = @tmpdir@/bacula-restores
57 # List of files to be backed up
60 Include { Options { signature=MD5 }
61 File = <@tmpdir@/file-list
67 # When to do the backups, full backup on first sunday of the month,
68 # differential (i.e. incremental since full) every other sunday,
69 # and incremental backups other days
72 Run = Full 1st sun at 1:05
73 Run = Differential 2nd-5th sun at 1:05
74 Run = Incremental mon-sat at 1:05
77 # Client (File Services) to backup
83 Password = "client-pw"
84 File Retention = 30d # 30 days
85 Job Retention = 180d # six months
86 AutoPrune = yes # Prune expired Jobs/Files
87 Maximum Concurrent Jobs = 4
90 # Definition of DDS tape storage device
93 Address = @hostname@ # N.B. Use a fully qualified name here
95 Password = "storage-pw"
96 Device = tape # must be same as Device in Storage daemon
97 Media Type = tape # must be same as MediaType in Storage daemon
98 Maximum Concurrent Jobs = 4
103 # Definition of DLT tape storage device
106 Address = @hostname@ # N.B. Use a fully qualified name here
108 Password = "storage-pw"
109 Device = DLT80 # must be same as Device in Storage daemon
110 Media Type = DLT8000 # must be same as MediaType in Storage daemon
111 Maximum Concurrent Jobs = 4
115 # Generic catalog service
119 dbname = @db_name@; user = @db_user@; password = "@db_password@"
122 # Reasonable message delivery -- send most everything to email address
126 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
127 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
128 # MailOnError = @job_email@ = all, !terminate
129 # operator = @job_email@ = mount
130 console = all, !skipped, !terminate, !restored
132 # WARNING! the following will create a file that you must cycle from
133 # time to time as it will grow indefinitely. However, it will
134 # also keep all your messages if the scroll off the console.
136 append = "@working_dir@/log" = all, !skipped
137 catalog = all, !skipped
141 # Message delivery for daemon messages (no job).
144 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
145 # mail = @job_email@ = all, !skipped
146 console = all, !skipped, !saved
147 append = "@working_dir@/log" = all, !skipped
148 catalog = all, !skipped
152 # Default pool definition
156 Recycle = yes # Bacula can automatically recycle Volumes
157 AutoPrune = yes # Prune expired volumes
158 Volume Retention = 365d # one year
164 Recycle = yes # Bacula can automatically recycle Volumes
165 AutoPrune = yes # Prune expired volumes
166 Volume Retention = 365d # one year
172 Recycle = yes # Bacula can automatically recycle Volumes
173 AutoPrune = yes # Prune expired volumes
174 Volume Retention = 365d # one year
180 Recycle = yes # Bacula can automatically recycle Volumes
181 AutoPrune = yes # Prune expired volumes
182 Volume Retention = 365d # one year
183 Recycle Pool = Scratch # recycle back here