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.30 (12 April 2003) -- redhat 7.3
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 = 1
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"
49 Write Bootstrap = "@working_dir@/NightlySave.bsr"
56 Level = VolumeToCatalog
62 Write Bootstrap = "@working_dir@/NightlySave.bsr"
74 Write Bootstrap = "@working_dir@/NightlySave.bsr"
78 Name = "CompressedTest"
81 FileSet="CompressedSet"
85 Write Bootstrap = "@working_dir@/NightlySave.bsr"
89 Name = "SparseCompressedTest"
92 FileSet="SparseCompressedSet"
96 Write Bootstrap = "@working_dir@/NightlySave.bsr"
100 # Backup the catalog database (after the nightly save)
102 Name = "BackupCatalog"
106 # Schedule = "WeeklyCycleAfterBackup"
110 # This creates an ASCII copy of the catalog
111 RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
112 # This deletes the copy of the catalog
113 RunAfterJob = "@sbindir@/delete_catalog_backup"
114 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
117 # Standard Restore template, to be changed by Console program
119 Name = "RestoreFiles"
126 Where = /tmp/bacula-restores
130 # List of files to be backed up
133 Include = signature=MD5 {
140 Include = signature=MD5 sparse=yes {
146 Name = "CompressedSet"
147 Include = signature=MD5 compression=GZIP {
153 Name = "SparseCompressedSet"
154 Include = signature=MD5 compression=GZIP {
162 # When to do the backups, full backup on first sunday of the month,
163 # differential (i.e. incremental since full) every other sunday,
164 # and incremental backups other days
167 Run = Full 1st sun at 1:05
168 Run = Differential 2nd-5th sun at 1:05
169 Run = Incremental mon-sat at 1:05
172 # This schedule does the catalog. It starts after the WeeklyCycle
174 Name = "WeeklyCycleAfterBackup"
175 Run = Full sun-sat at 1:10
178 # This is the backup of the catalog
181 Include = signature=MD5 {
182 /home/kern/bacula/regress/bin/working/bacula.sql
186 # Client (File Services) to backup
192 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
193 File Retention = 30d # 30 days
194 Job Retention = 180d # six months
195 AutoPrune = yes # Prune expired Jobs/Files
198 # Definiton of file storage device
201 Address = rufus # N.B. Use a fully qualified name here
203 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
210 Address = rufus # N.B. Use a fully qualified name here
212 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
213 Device = FileStorage1
218 # Definition of DLT tape storage device
221 # Address = rufus # N.B. Use a fully qualified name here
223 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
224 # Device = "HP DLT 80" # must be same as Device in Storage daemon
225 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
228 # Definition of DDS tape storage device
231 # Address = rufus # N.B. Use a fully qualified name here
233 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
234 # Device = SDT-10000 # must be same as Device in Storage daemon
235 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
238 # Definition of 8mm tape storage device
241 # Address = rufus # N.B. Use a fully qualified name here
243 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
244 # Device = "Exabyte 8mm"
249 # Generic catalog service
252 dbname = bacula; user = bacula; password = ""
255 # Reasonable message delivery -- send most everything to email address
259 mailcommand = "@sbindir@/smtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
260 operatorcommand = "@sbindir@/smtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
261 MailOnError = @job_email@ = all
262 operator = @job_email@ = mount
263 console = all, !skipped
265 # WARNING! the following will create a file that you must cycle from
266 # time to time as it will grow indefinitely. However, it will
267 # also keep all your messages if the scroll off the console.
269 append = "@working_dir@/log" = all, !skipped
274 mailcommand = "@sbindir@/smtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
275 console = all, !skipped
277 # WARNING! the following will create a file that you must cycle from
278 # time to time as it will grow indefinitely. However, it will
279 # also keep all your messages if the scroll off the console.
281 append = "@working_dir@/log" = all, !skipped
285 # Default pool definition
289 Recycle = yes # Bacula can automatically recycle Volumes
290 AutoPrune = yes # Prune expired volumes
291 Volume Retention = 365d # one year
292 Accept Any Volume = yes # write on any volume in the pool