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"
53 Name = "CompressedTest"
56 FileSet="CompressedSet"
60 Write Bootstrap = "@working_dir@/NightlySave.bsr"
64 Name = "SparseCompressedTest"
67 FileSet="SparseCompressedSet"
71 Write Bootstrap = "@working_dir@/NightlySave.bsr"
77 # Backup the catalog database (after the nightly save)
79 Name = "BackupCatalog"
83 # Schedule = "WeeklyCycleAfterBackup"
87 # This creates an ASCII copy of the catalog
88 RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
89 # This deletes the copy of the catalog
90 RunAfterJob = "@sbindir@/delete_catalog_backup"
91 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
94 # Standard Restore template, to be changed by Console program
103 Where = /tmp/bacula-restores
107 # List of files to be backed up
110 Include = signature=MD5 {
117 Include = signature=MD5 sparse=yes {
123 Name = "CompressedSet"
124 Include = signature=MD5 compression=GZIP {
130 Name = "SparseCompressedSet"
131 Include = signature=MD5 compression=GZIP {
139 # When to do the backups, full backup on first sunday of the month,
140 # differential (i.e. incremental since full) every other sunday,
141 # and incremental backups other days
144 Run = Full 1st sun at 1:05
145 Run = Differential 2nd-5th sun at 1:05
146 Run = Incremental mon-sat at 1:05
149 # This schedule does the catalog. It starts after the WeeklyCycle
151 Name = "WeeklyCycleAfterBackup"
152 Run = Full sun-sat at 1:10
155 # This is the backup of the catalog
158 Include = signature=MD5 {
159 /home/kern/bacula/regress/bin/working/bacula.sql
163 # Client (File Services) to backup
169 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
170 File Retention = 30d # 30 days
171 Job Retention = 180d # six months
172 AutoPrune = yes # Prune expired Jobs/Files
175 # Definiton of file storage device
178 Address = rufus # N.B. Use a fully qualified name here
180 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
185 # Definition of DLT tape storage device
188 # Address = rufus # N.B. Use a fully qualified name here
190 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
191 # Device = "HP DLT 80" # must be same as Device in Storage daemon
192 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
195 # Definition of DDS tape storage device
198 # Address = rufus # N.B. Use a fully qualified name here
200 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
201 # Device = SDT-10000 # must be same as Device in Storage daemon
202 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
205 # Definition of 8mm tape storage device
208 # Address = rufus # N.B. Use a fully qualified name here
210 # Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
211 # Device = "Exabyte 8mm"
216 # Generic catalog service
219 dbname = bacula; user = bacula; password = ""
222 # Reasonable message delivery -- send most everything to email address
226 mailcommand = "@sbindir@/smtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
227 operatorcommand = "@sbindir@/smtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
228 MailOnError = kern+ok@sibbald.com = all
229 operator = kern+ok@sibbald.com = mount
230 console = all, !skipped
232 # WARNING! the following will create a file that you must cycle from
233 # time to time as it will grow indefinitely. However, it will
234 # also keep all your messages if the scroll off the console.
236 append = "@working_dir@/log" = all, !skipped
239 # Default pool definition
243 Recycle = yes # Bacula can automatically recycle Volumes
244 AutoPrune = yes # Prune expired volumes
245 Volume Retention = 365d # one year
246 Accept Any Volume = yes # write on any volume in the pool