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 = 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"
120 # Standard Restore template, to be changed by Console program
122 Name = "RestoreFiles"
129 Where = /tmp/bacula-restores
133 # List of files to be backed up
136 Include = signature=MD5 {
145 signature=MD5 sparse=yes
147 File = </tmp/file-list
152 Name = "CompressedSet"
155 signature=MD5 compression=GZIP
157 File = </tmp/file-list
162 Name = "SparseCompressedSet"
165 signature=MD5 compression=GZIP
167 File = </tmp/file-list
174 # When to do the backups, full backup on first sunday of the month,
175 # differential (i.e. incremental since full) every other sunday,
176 # and incremental backups other days
179 Run = Full 1st sun at 1:05
180 Run = Differential 2nd-5th sun at 1:05
181 Run = Incremental mon-sat at 1:05
184 # This schedule does the catalog. It starts after the WeeklyCycle
186 Name = "WeeklyCycleAfterBackup"
187 Run = Full sun-sat at 1:10
190 # This is the backup of the catalog
197 File = /home/kern/bacula/regress/bin/working/bacula.sql
201 # Client (File Services) to backup
207 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
208 File Retention = 30d # 30 days
209 Job Retention = 180d # six months
210 AutoPrune = yes # Prune expired Jobs/Files
211 Maximum Concurrent Jobs = 4
214 # Definiton of file storage device
217 Address = @hostname@ # N.B. Use a fully qualified name here
219 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
222 Maximum Concurrent Jobs = 4
227 Address = @hostname@ # N.B. Use a fully qualified name here
229 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
230 Device = FileStorage1
232 Maximum Concurrent Jobs = 4
236 # Definition of DLT tape storage device
239 # Address = @hostname@ # N.B. Use a fully qualified name here
241 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
242 # Device = "HP DLT 80" # must be same as Device in Storage daemon
243 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
246 # Definition of DDS tape storage device
249 # Address = @hostname@ # N.B. Use a fully qualified name here
251 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
252 # Device = SDT-10000 # must be same as Device in Storage daemon
253 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
256 # Definition of 8mm tape storage device
259 # Address = @hostname@ # N.B. Use a fully qualified name here
261 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
262 # Device = "Exabyte 8mm"
267 # Generic catalog service
270 dbname = bacula; user = bacula; password = ""
273 # Reasonable message delivery -- send most everything to email address
277 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
278 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
279 MailOnError = @job_email@ = all
280 operator = @job_email@ = mount
281 console = all, !skipped, !terminate, !restored
283 # WARNING! the following will create a file that you must cycle from
284 # time to time as it will grow indefinitely. However, it will
285 # also keep all your messages if the scroll off the console.
287 append = "@working_dir@/log" = all, !skipped
292 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
293 console = all, !skipped, !terminate
295 # WARNING! the following will create a file that you must cycle from
296 # time to time as it will grow indefinitely. However, it will
297 # also keep all your messages if the scroll off the console.
299 append = "@working_dir@/log" = all, !skipped
303 # Default pool definition
307 Recycle = yes # Bacula can automatically recycle Volumes
308 AutoPrune = yes # Prune expired volumes
309 Volume Retention = 365d # one year
310 Accept Any Volume = yes # write on any volume in the pool