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.39
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 Maximum Concurrent Jobs = 4
22 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
27 # Define the main nightly save backup job
28 # By default, this job will back up to disk in /tmp
37 Write Bootstrap = "@working_dir@/NightlySave.bsr"
38 Maximum Concurrent Jobs = 4
40 # Prefer Mounted Volumes = no
51 Write Bootstrap = "@working_dir@/migratejob.bsr"
53 Maximum Concurrent Jobs = 4
55 Selection Pattern = ".*Save"
59 Name = "migrate-volume"
66 Write Bootstrap = "@working_dir@/migratevol.bsr"
68 Maximum Concurrent Jobs = 4
69 Selection Type = Volume
70 Selection Pattern = "File*"
74 # Standard Restore template, to be changed by Console program
83 Where = /tmp/bacula-restores
87 # List of files to be backed up
90 Include { Options { signature=MD5 }
91 File = </tmp/file-list
97 # When to do the backups, full backup on first sunday of the month,
98 # differential (i.e. incremental since full) every other sunday,
99 # and incremental backups other days
102 Run = Full 1st sun at 1:05
103 Run = Differential 2nd-5th sun at 1:05
104 Run = Incremental mon-sat at 1:05
107 # Client (File Services) to backup
113 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
114 File Retention = 30d # 30 days
115 Job Retention = 180d # six months
116 AutoPrune = yes # Prune expired Jobs/Files
117 Maximum Concurrent Jobs = 4
120 # Definition of DDS Virtual tape disk storage device
123 Address = @hostname@ # N.B. Use a fully qualified name here
125 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
126 Device = DiskChanger # must be same as Device in Storage daemon
127 Media Type = DiskChanger # must be same as MediaType in Storage daemon
128 Maximum Concurrent Jobs = 4
132 # Definition of file storage device
137 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
140 Maximum Concurrent Jobs = 5
144 # Generic catalog service
147 dbname = bacula; user = bacula; password = ""
150 # Reasonable message delivery -- send most everything to email address
154 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
155 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
156 MailOnError = @job_email@ = all, !terminate
157 operator = @job_email@ = mount
158 console = all, !skipped, !terminate, !restored
160 # WARNING! the following will create a file that you must cycle from
161 # time to time as it will grow indefinitely. However, it will
162 # also keep all your messages if the scroll off the console.
164 append = "@working_dir@/log" = all, !skipped
168 # Message delivery for daemon messages (no job).
171 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
172 mail = @job_email@ = all, !skipped
173 console = all, !skipped, !saved
174 append = "@working_dir@/log" = all, !skipped
178 # Default pool definition
182 Recycle = yes # Bacula can automatically recycle Volumes
183 AutoPrune = yes # Prune expired volumes
184 Volume Retention = 365d # one year
192 Recycle = yes # Bacula can automatically recycle Volumes
193 AutoPrune = yes # Prune expired volumes
194 Volume Retention = 365d # one year
195 Storage = DiskChanger