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 2.1.x
10 # Special conf for testing two tape drives with two different
14 Director { # define myself
16 DIRPort = @dirport@ # where we listen for UA connections
17 QueryFile = "@scriptdir@/query.sql"
18 WorkingDirectory = "@working_dir@"
19 PidDirectory = "@piddir@"
20 Maximum Concurrent Jobs = 4
26 # Define the main nightly save backup job
27 # By default, this job will back up to disk in @tmpdir@
36 Write Bootstrap = "@working_dir@/NightlySave.bsr"
37 Maximum Concurrent Jobs = 4
39 # Prefer Mounted Volumes = no
42 # Standard Restore template, to be changed by Console program
51 Where = @tmpdir@/bacula-restores
55 # List of files to be backed up
58 Include { Options { signature=MD5 }
59 File = <@tmpdir@/file-list
65 # When to do the backups, full backup on first sunday of the month,
66 # differential (i.e. incremental since full) every other sunday,
67 # and incremental backups other days
70 Run = Full 1st sun at 1:05
71 Run = Differential 2nd-5th sun at 1:05
72 Run = Incremental mon-sat at 1:05
75 # Client (File Services) to backup
81 Password = "client-pw"
82 File Retention = 30d # 30 days
83 Job Retention = 180d # six months
84 AutoPrune = yes # Prune expired Jobs/Files
85 Maximum Concurrent Jobs = 4
88 # Definition of DDS tape storage device
91 Address = @hostname@ # N.B. Use a fully qualified name here
93 Password = "storage-pw"
94 Device = tape # must be same as Device in Storage daemon
95 Media Type = tape # must be same as MediaType in Storage daemon
96 Maximum Concurrent Jobs = 4
101 # Definition of DLT tape storage device
104 Address = @hostname@ # N.B. Use a fully qualified name here
106 Password = "storage-pw"
107 Device = DLT80 # must be same as Device in Storage daemon
108 Media Type = DLT8000 # must be same as MediaType in Storage daemon
109 Maximum Concurrent Jobs = 4
113 # Generic catalog service
117 dbname = @db_name@; user = @db_user@; password = "@db_password@"
120 # Reasonable message delivery -- send most everything to email address
124 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
125 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
126 # MailOnError = @job_email@ = all, !terminate
127 # operator = @job_email@ = mount
128 console = all, !skipped, !terminate, !restored
130 # WARNING! the following will create a file that you must cycle from
131 # time to time as it will grow indefinitely. However, it will
132 # also keep all your messages if the scroll off the console.
134 append = "@working_dir@/log" = all, !skipped
135 catalog = all, !skipped
139 # Message delivery for daemon messages (no job).
142 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
143 # mail = @job_email@ = all, !skipped
144 console = all, !skipped, !saved
145 append = "@working_dir@/log" = all, !skipped
146 catalog = all, !skipped
150 # Default pool definition
154 Recycle = yes # Bacula can automatically recycle Volumes
155 AutoPrune = yes # Prune expired volumes
156 Volume Retention = 365d # one year
162 Recycle = yes # Bacula can automatically recycle Volumes
163 AutoPrune = yes # Prune expired volumes
164 Volume Retention = 365d # one year
170 Recycle = yes # Bacula can automatically recycle Volumes
171 AutoPrune = yes # Prune expired volumes
172 Volume Retention = 365d # one year
178 Recycle = yes # Bacula can automatically recycle Volumes
179 AutoPrune = yes # Prune expired volumes
180 Volume Retention = 365d # one year
181 Recycle Pool = Scratch # recycle back here