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 = "@scriptdir@/query.sql"
19 WorkingDirectory = "@working_dir@"
20 PidDirectory = "@piddir@"
21 Maximum Concurrent Jobs = 1
22 Password = "@dir_password@" # Console password
30 Client = @hostname@-fd
32 Schedule = "WeeklyCycle"
41 # Define the main nightly save backup job
42 # By default, this job will back up to disk in /tmp
45 JobDefs = "DefaultJob"
46 Write Bootstrap = "@working_dir@/Client1.bsr"
49 # Backup the catalog database (after the nightly save)
51 Name = "BackupCatalog"
52 JobDefs = "DefaultJob"
55 Schedule = "WeeklyCycleAfterBackup"
56 # This creates an ASCII copy of the catalog
57 RunBeforeJob = "@scriptdir@/make_catalog_backup -u bacula"
58 # This deletes the copy of the catalog
59 RunAfterJob = "@scriptdir@/delete_catalog_backup"
60 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
61 Priority = 11 # run after main backup
64 # Standard Restore template, to be changed by Console program
73 Where = /tmp/bacula-restores
77 # List of files to be backed up
85 # Put your list of files here, preceded by 'File =', one per line
86 # or include an external list with:
90 # Note: / backs up everything on the root partition.
91 # if you have other partitons such as /usr or /home
92 # you will probably want to add them too.
94 # By default this is defined to point to the Bacula build
95 # directory to give a reasonable FileSet to backup to
96 # disk storage during initial testing.
102 # If you backup the root directory, the following two excluded
103 # files can be useful
114 # When to do the backups, full backup on first sunday of the month,
115 # differential (i.e. incremental since full) every other sunday,
116 # and incremental backups other days
119 Run = Full 1st sun at 1:05
120 Run = Differential 2nd-5th sun at 1:05
121 Run = Incremental mon-sat at 1:05
124 # This schedule does the catalog. It starts after the WeeklyCycle
126 Name = "WeeklyCycleAfterBackup"
127 Run = Full sun-sat at 1:10
130 # This is the backup of the catalog
137 File = @working_dir@/bacula.sql
141 # Client (File Services) to backup
147 Password = "@fd_password@" # password for FileDaemon
148 File Retention = 30 days # 30 days
149 Job Retention = 6 months # six months
150 AutoPrune = yes # Prune expired Jobs/Files
153 # Definiton of file storage device
156 Address = @hostname@ # N.B. Use a fully qualified name here
158 Password = "@sd_password@"
164 # Definition of DDS tape storage device
167 # Address = @hostname@ # N.B. Use a fully qualified name here
169 # Password = "@sd_password@" # password for Storage daemon
170 # Device = DDS-4 # must be same as Device in Storage daemon
171 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
174 # Definition of 8mm tape storage device
177 # Address = @hostname@ # N.B. Use a fully qualified name here
179 # Password = "@sd_password@"
180 # Device = "Exabyte 8mm"
185 # Generic catalog service
188 dbname = bacula; user = bacula; password = ""
191 # Reasonable message delivery -- send most everything to email address
196 # NOTE! If you send to two email or more email addresses, you will need
197 # to replace the %r in the from field (-f part) with a single valid
198 # email address in both the mailcommand and the operatorcommand.
200 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
201 operatorcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
202 mail = @job_email@ = all, !skipped
203 operator = @job_email@ = mount
204 console = all, !skipped, !saved
206 # WARNING! the following will create a file that you must cycle from
207 # time to time as it will grow indefinitely. However, it will
208 # also keep all your messages if they scroll off the console.
210 append = "@working_dir@/log" = all, !skipped
213 # Default pool definition
217 Recycle = yes # Bacula can automatically recycle Volumes
218 AutoPrune = yes # Prune expired volumes
219 Volume Retention = 365 days # one year
220 Accept Any Volume = yes # write on any volume in the pool
224 # Restricted console used by tray-monitor to get the status of the director
227 Name = @hostname@-mon
228 Password = "@mon_dir_password@"
229 CommandACL = status, .status