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 SubSysDirectory = "@subsysdir@"
22 Maximum Concurrent Jobs = 1
23 Password = "@dir_password@" # Console password
28 # Define the main nightly save backup job
29 # By default, this job will back up to disk in /tmp
35 Schedule = "WeeklyCycle"
39 Write Bootstrap = "@working_dir@/NightlySave.bsr"
42 # Backup the catalog database (after the nightly save)
44 Name = "BackupCatalog"
48 Schedule = "WeeklyCycleAfterBackup"
52 # This creates an ASCII copy of the catalog
53 RunBeforeJob = "@scriptdir@/make_catalog_backup -u bacula"
54 # This deletes the copy of the catalog
55 RunAfterJob = "@scriptdir@/delete_catalog_backup"
56 Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
59 # Standard Restore template, to be changed by Console program
68 Where = /tmp/bacula-restores
72 # List of files to be backed up
75 Include = signature=MD5 {
77 # Put your list of files here, one per line or include an
82 # Note: / backs up everything on the root partition.
83 # if you have other partitons such as /usr or /home
84 # you will probably want to add them too.
86 # By default this is defined to point to the Bacula build
87 # directory to give a reasonable FileSet to backup to
88 # disk storage during initial testing.
94 # If you backup the root directory, the following two excluded
97 Exclude = { /proc /tmp /.journal /.fsck }
101 # When to do the backups, full backup on first sunday of the month,
102 # differential (i.e. incremental since full) every other sunday,
103 # and incremental backups other days
106 Run = Full 1st sun at 1:05
107 Run = Differential 2nd-5th sun at 1:05
108 Run = Incremental mon-sat at 1:05
111 # This schedule does the catalog. It starts after the WeeklyCycle
113 Name = "WeeklyCycleAfterBackup"
114 Run = Full sun-sat at 1:10
117 # This is the backup of the catalog
120 Include = signature=MD5 {
121 @working_dir@/bacula.sql
125 # Client (File Services) to backup
131 Password = "@fd_password@" # password for FileDaemon
132 File Retention = 30d # 30 days
133 Job Retention = 180d # six months
134 AutoPrune = yes # Prune expired Jobs/Files
137 # Definiton of file storage device
140 Address = @hostname@ # N.B. Use a fully qualified name here
142 Password = "@sd_password@"
147 # Definition of DLT tape storage device
150 # Address = @hostname@ # N.B. Use a fully qualified name here
152 # Password = "@sd_password@" # password for Storage daemon
153 # Device = "HP DLT 80" # must be same as Device in Storage daemon
154 # Media Type = DLT8000 # must be same as MediaType in Storage daemon
157 # Definition of DDS tape storage device
160 # Address = @hostname@ # N.B. Use a fully qualified name here
162 # Password = "@sd_password@" # password for Storage daemon
163 # Device = SDT-10000 # must be same as Device in Storage daemon
164 # Media Type = DDS-4 # must be same as MediaType in Storage daemon
167 # Definition of 8mm tape storage device
170 # Address = @hostname@ # N.B. Use a fully qualified name here
172 # Password = "@sd_password@"
173 # Device = "Exabyte 8mm"
178 # Generic catalog service
181 dbname = bacula; user = bacula; password = ""
184 # Reasonable message delivery -- send most everything to email address
188 mailcommand = "@sbindir@/smtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
189 operatorcommand = "@sbindir@/smtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
190 mail = @job_email@ = all, !skipped
191 operator = @job_email@ = mount
192 console = all, !skipped, !saved
194 # WARNING! the following will create a file that you must cycle from
195 # time to time as it will grow indefinitely. However, it will
196 # also keep all your messages if the scroll off the console.
198 append = "@working_dir@/log" = all, !skipped
201 # Default pool definition
205 Recycle = yes # Bacula can automatically recycle Volumes
206 AutoPrune = yes # Prune expired volumes
207 Volume Retention = 365d # one year
208 Accept Any Volume = yes # write on any volume in the pool