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 @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
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 = @dir_port@ # where we listen for UA connections
18 QueryFile = "@sysconfdir@/query.sql"
19 WorkingDirectory = "@working_dir@"
20 PidDirectory = "@piddir@"
21 SubSysDirectory = "@subsysdir@"
22 Maximum Concurrent Jobs = 1
23 Password = "@dir_password@" # Console password
27 # Define the main nightly save backup job
33 Schedule = "WeeklyCycle"
37 Write Bootstrap = "@working_dir@/NightlySave.bsr"
40 # Backup the catalog database (after the nightly save)
42 Name = "BackupCatalog"
46 Schedule = "WeeklyCycleAfterBackup"
50 # This creates an ASCII copy of the catalog
51 RunBeforeJob = "@sysconfdir@/make_catalog_backup"
52 # This deletes the copy of the catalog
53 RunAfterJob = "@sysconfdir@/delete_catalog_backup"
54 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
57 # Standard Restore template, to be changed by Console program
66 Where = /tmp/bacula-restores
70 # List of files to be backed up
73 Include = signature=MD5 {
75 # Put your list of files here, one per line or include an
80 # Note: / backs up everything
89 # When to do the backups, full backup on first sunday of the month,
90 # differential (i.e. incremental since full) every other sunday,
91 # and incremental backups other days
94 Run = Full 1st sun at 1:05
95 Run = Differential 2nd-5th sun at 1:05
96 Run = Incremental mon-sat at 1:05
99 # This schedule does the catalog. It starts after the WeeklyCycle
101 Name = "WeeklyCycleAfterBackup"
102 Run = Full sun-sat at 1:10
105 # This is the backup of the catalog
108 Include = signature=MD5 {
109 @working_dir@/bacula.sql
113 # Client (File Services) to backup
119 Password = "@fd_password@" # password for FileDaemon
120 File Retention = 30d # 30 days
121 Job Retention = 180d # six months
122 AutoPrune = yes # Prune expired Jobs/Files
126 # Definition of DLT tape storage device
129 Address = @hostname@ # N.B. Use a fully qualified name here
131 Password = "@sd_password@" # password for Storage daemon
132 Device = "HP DLT 80" # must be same as Device in Storage daemon
133 Media Type = DLT8000 # must be same as MediaType in Storage daemon
136 # Definition of DDS tape storage device
139 Address = @hostname@ # N.B. Use a fully qualified name here
141 Password = "@sd_password@" # password for Storage daemon
142 Device = SDT-10000 # must be same as Device in Storage daemon
143 Media Type = DDS-4 # must be same as MediaType in Storage daemon
146 # Definition of 8mm tape storage device
149 Address = @hostname@ # N.B. Use a fully qualified name here
151 Password = "@sd_password@"
152 Device = "Exabyte 8mm"
156 # Definiton of file storage device
159 Address = @hostname@ # N.B. Use a fully qualified name here
161 Password = "@sd_password@"
167 # Generic catalog service
170 dbname = bacula; user = bacula; password = ""
173 # Reasonable message delivery -- send most everything to email address
177 mailcommand = "@sbindir@/smtp -h @smtp_host@ -f \"Bacula <%r>\" -s \"Bacula: %t %e of %c %l\" %r"
178 operatorcommand = "@sbindir@/smtp -h @smtp_host@ -f \"Bacula <%r>\" -s \"Bacula: Intervention needed for %j\" %r"
179 mail = @job_email@ = all, !skipped
180 operator = @job_email@ = mount
181 console = all, !skipped, !saved
183 # WARNING! the following will create a file that you must cycle from
184 # time to time as it will grow indefinitely. However, it will
185 # also keep all your messages if the scroll off the console.
187 append = "@working_dir@/log" = all, !skipped
190 # Default pool definition
194 Recycle = yes # Bacula can automatically recycle Volumes
195 AutoPrune = yes # Prune expired volumes
196 Volume Retention = 365d # one year
197 Accept Any Volume = yes # write on any volume in the pool