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"
44 Level = VolumeToCatalog
50 Write Bootstrap = "@working_dir@/NightlySave.bsr"
62 Write Bootstrap = "@working_dir@/NightlySave.bsr"
66 Name = "CompressedTest"
69 FileSet="CompressedSet"
73 Write Bootstrap = "@working_dir@/NightlySave.bsr"
77 Name = "SparseCompressedTest"
80 FileSet="SparseCompressedSet"
84 Write Bootstrap = "@working_dir@/NightlySave.bsr"
88 # Backup the catalog database (after the nightly save)
90 Name = "BackupCatalog"
94 # Schedule = "WeeklyCycleAfterBackup"
98 # This creates an ASCII copy of the catalog
99 RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
100 # This deletes the copy of the catalog
101 RunAfterJob = "@sbindir@/delete_catalog_backup"
102 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
105 # Standard Restore template, to be changed by Console program
107 Name = "RestoreFiles"
114 Where = /tmp/bacula-restores
118 # List of files to be backed up
121 Include = signature=MD5 {
128 Include = signature=MD5 sparse=yes {
134 Name = "CompressedSet"
135 Include = signature=MD5 compression=GZIP {
141 Name = "SparseCompressedSet"
142 Include = signature=MD5 compression=GZIP {
150 # When to do the backups, full backup on first sunday of the month,
151 # differential (i.e. incremental since full) every other sunday,
152 # and incremental backups other days
155 Run = Full 1st sun at 1:05
156 Run = Differential 2nd-5th sun at 1:05
157 Run = Incremental mon-sat at 1:05
160 # This schedule does the catalog. It starts after the WeeklyCycle
162 Name = "WeeklyCycleAfterBackup"
163 Run = Full sun-sat at 1:10
166 # This is the backup of the catalog
169 Include = signature=MD5 {
170 /home/kern/bacula/regress/bin/working/bacula.sql
174 # Client (File Services) to backup
180 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
181 File Retention = 30d # 30 days
182 Job Retention = 180d # six months
183 AutoPrune = yes # Prune expired Jobs/Files
186 # Definiton of file storage device
189 Address = rufus # N.B. Use a fully qualified name here
191 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
196 # Definition of DLT tape storage device
199 # Address = rufus # N.B. Use a fully qualified name here
201 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
202 # Device = "HP DLT 80" # must be same as Device in Storage daemon
203 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
206 # Definition of DDS tape storage device
209 # Address = rufus # N.B. Use a fully qualified name here
211 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
212 # Device = SDT-10000 # must be same as Device in Storage daemon
213 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
216 # Definition of 8mm tape storage device
219 # Address = rufus # N.B. Use a fully qualified name here
221 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
222 # Device = "Exabyte 8mm"
227 # Generic catalog service
230 dbname = bacula; user = bacula; password = ""
233 # Reasonable message delivery -- send most everything to email address
237 mailcommand = "@sbindir@/smtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
238 operatorcommand = "@sbindir@/smtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
239 MailOnError = kern+ok@sibbald.com = all
240 operator = kern+ok@sibbald.com = mount
241 console = all, !skipped
243 # WARNING! the following will create a file that you must cycle from
244 # time to time as it will grow indefinitely. However, it will
245 # also keep all your messages if the scroll off the console.
247 append = "@working_dir@/log" = all, !skipped
250 # Default pool definition
254 Recycle = yes # Bacula can automatically recycle Volumes
255 AutoPrune = yes # Prune expired volumes
256 Volume Retention = 365d # one year
257 Accept Any Volume = yes # write on any volume in the pool