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.33
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@/NightlySave.bsr"
52 Maximum Concurrent Jobs = 4
54 # Prefer Mounted Volumes = no
55 Client Run Before Job = "sleep 30"
66 Write Bootstrap = "@working_dir@/NightlySave.bsr"
67 Maximum Concurrent Jobs = 4
69 # Prefer Mounted Volumes = no
75 Level = VolumeToCatalog
81 Write Bootstrap = "@working_dir@/NightlySave.bsr"
82 Maximum Concurrent Jobs = 4
84 # Prefer Mounted Volumes = no
90 # Standard Restore template, to be changed by Console program
99 Where = @tmpdir@/bacula-restores
103 # List of files to be backed up
106 Include { Options { signature=MD5 }
107 File = <@tmpdir@/file-list
118 File = "<@tmpdir@/file-list"
125 # When to do the backups, full backup on first sunday of the month,
126 # differential (i.e. incremental since full) every other sunday,
127 # and incremental backups other days
130 Run = Full 1st sun at 1:05
131 Run = Differential 2nd-5th sun at 1:05
132 Run = Incremental mon-sat at 1:05
135 # Client (File Services) to backup
141 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
142 File Retention = 30d # 30 days
143 Job Retention = 180d # six months
144 AutoPrune = yes # Prune expired Jobs/Files
145 Maximum Concurrent Jobs = 4
148 # Definition of DDS tape storage device
151 Address = @hostname@ # N.B. Use a fully qualified name here
153 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
154 Device = Dummy # must be same as Device in Storage daemon
155 Media Type = Dummy # must be same as MediaType in Storage daemon
156 Maximum Concurrent Jobs = 4
161 # Generic catalog service
165 dbname = @db_name@; user = @db_user@; password = "@db_password@"
168 # Reasonable message delivery -- send most everything to email address
172 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
173 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
174 # MailOnError = @job_email@ = all, !terminate
175 # operator = @job_email@ = mount
176 console = all, !skipped, !terminate, !restored
178 # WARNING! the following will create a file that you must cycle from
179 # time to time as it will grow indefinitely. However, it will
180 # also keep all your messages if the scroll off the console.
182 append = "@working_dir@/log" = all, !skipped
183 catalog = all, !skipped
187 # Message delivery for daemon messages (no job).
190 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
191 # mail = @job_email@ = all, !skipped
192 console = all, !skipped, !saved
193 append = "@working_dir@/log" = all, !skipped
194 catalog = all, !skipped
198 # Default pool definition
202 Recycle = yes # Bacula can automatically recycle Volumes
203 AutoPrune = yes # Prune expired volumes
204 Volume Retention = 365d # one year
210 Recycle = yes # Bacula can automatically recycle Volumes
211 AutoPrune = yes # Prune expired volumes
212 Volume Retention = 365d # one year
218 Recycle = yes # Bacula can automatically recycle Volumes
219 AutoPrune = yes # Prune expired volumes
220 Volume Retention = 365d # one year
226 Recycle = yes # Bacula can automatically recycle Volumes
227 AutoPrune = yes # Prune expired volumes
228 Volume Retention = 365d # one year