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.33
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@/NightlySave.bsr"
52 Maximum Concurrent Jobs = 4
54 # Prefer Mounted Volumes = no
55 Client Run Before Job = "/bin/sleep 120"
66 Write Bootstrap = "@working_dir@/NightlySave.bsr"
67 Maximum Concurrent Jobs = 4
69 # Prefer Mounted Volumes = no
73 # Standard Restore template, to be changed by Console program
82 Where = /tmp/bacula-restores
86 # List of files to be backed up
89 Include { Options { signature=MD5 }
90 File = </tmp/file-list
96 # When to do the backups, full backup on first sunday of the month,
97 # differential (i.e. incremental since full) every other sunday,
98 # and incremental backups other days
101 Run = Full 1st sun at 1:05
102 Run = Differential 2nd-5th sun at 1:05
103 Run = Incremental mon-sat at 1:05
106 # Client (File Services) to backup
112 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
113 File Retention = 30d # 30 days
114 Job Retention = 180d # six months
115 AutoPrune = yes # Prune expired Jobs/Files
116 Maximum Concurrent Jobs = 4
119 # Definition of DDS tape storage device
122 Address = @hostname@ # N.B. Use a fully qualified name here
124 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
125 Device = DDS-4 # must be same as Device in Storage daemon
126 Media Type = DDS-4 # must be same as MediaType in Storage daemon
127 Maximum Concurrent Jobs = 4
132 # Generic catalog service
135 dbname = bacula; user = bacula; password = ""
138 # Reasonable message delivery -- send most everything to email address
142 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
143 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
144 MailOnError = @job_email@ = all, !terminate
145 operator = @job_email@ = mount
146 console = all, !skipped, !terminate, !restored
148 # WARNING! the following will create a file that you must cycle from
149 # time to time as it will grow indefinitely. However, it will
150 # also keep all your messages if the scroll off the console.
152 append = "@working_dir@/log" = all, !skipped
156 # Message delivery for daemon messages (no job).
159 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
160 mail = @job_email@ = all, !skipped
161 console = all, !skipped, !saved
162 append = "@working_dir@/log" = all, !skipped
166 # Default pool definition
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
186 Recycle = yes # Bacula can automatically recycle Volumes
187 AutoPrune = yes # Prune expired volumes
188 Volume Retention = 365d # one year
194 Recycle = yes # Bacula can automatically recycle Volumes
195 AutoPrune = yes # Prune expired volumes
196 Volume Retention = 365d # one year