2 # Default Bacula Storage Daemon Configuration file
4 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
6 # You may need to change the name of your tape drive
7 # on the "Archive Device" directive in the Device
8 # resource. If you change the Name and/or the
9 # "Media Type" in the Device resource, please ensure
10 # that dird.conf has corresponding changes.
13 # Copyright (C) 2000-2015 Kern Sibbald
14 # License: BSD 2-Clause; see file LICENSE-FOSS
17 Storage { # definition of myself
19 SDPort = @sd_port@ # Director's port
20 WorkingDirectory = "@working_dir@"
21 Pid Directory = "@piddir@"
22 Maximum Concurrent Jobs = 20
26 # List Directors who are permitted to contact Storage daemon
30 Password = "@sd_password@"
34 # Restricted Director, used by tray-monitor to get the
35 # status of the storage daemon
39 Password = "@mon_sd_password@"
44 # Note, for a list of additional Device templates please
45 # see the directory <bacula-source>/examples/devices
46 # Or follow the following link:
47 # http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/
51 # Devices supported by this Storage daemon
52 # To connect, the Director's bacula-dir.conf must have the
53 # same Name and MediaType.
57 # Define a Virtual autochanger
61 Device = FileChgr1-Dev1, FileChgr1-Dev2
63 Changer Device = /dev/null
69 Archive Device = @archivedir@
70 LabelMedia = yes; # lets Bacula label unlabeled media
72 AutomaticMount = yes; # when device opened, read it
75 Maximum Concurrent Jobs = 5
81 Archive Device = @archivedir@
82 LabelMedia = yes; # lets Bacula label unlabeled media
84 AutomaticMount = yes; # when device opened, read it
87 Maximum Concurrent Jobs = 5
91 # Define a second Virtual autochanger
95 Device = FileChgr2-Dev1, FileChgr2-Dev2
97 Changer Device = /dev/null
101 Name = FileChgr2-Dev1
103 Archive Device = @archivedir@
104 LabelMedia = yes; # lets Bacula label unlabeled media
106 AutomaticMount = yes; # when device opened, read it
109 Maximum Concurrent Jobs = 5
113 Name = FileChgr2-Dev2
115 Archive Device = @archivedir@
116 LabelMedia = yes; # lets Bacula label unlabeled media
118 AutomaticMount = yes; # when device opened, read it
121 Maximum Concurrent Jobs = 5
127 # An autochanger device with two drives
133 # Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
134 # Changer Device = /dev/sg0
140 # Media Type = DLT-8000
141 # Archive Device = /dev/nst0
142 # AutomaticMount = yes; # when device opened, read it
144 # RemovableMedia = yes;
148 # # Enable the Alert command only if you have the mtx package loaded
149 # # Note, apparently on some systems, tapeinfo resets the SCSI controller
150 # # thus if you turn this on, make sure it does not reset your SCSI
151 # # controller. I have never had any problems, and smartctl does
152 # # not seem to cause such problems.
154 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
155 # If you have smartctl, enable this, it has more info than tapeinfo
156 # Alert Command = "sh -c 'smartctl -H -l error %c'"
162 # Media Type = DLT-8000
163 # Archive Device = /dev/nst1
164 # AutomaticMount = yes; # when device opened, read it
166 # RemovableMedia = yes;
169 # # Enable the Alert command only if you have the mtx package loaded
170 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
171 # If you have smartctl, enable this, it has more info than tapeinfo
172 # Alert Command = "sh -c 'smartctl -H -l error %c'"
176 # A Linux or Solaris LTO-2 tape drive
181 # Archive Device = @TAPEDRIVE@
182 # AutomaticMount = yes; # when device opened, read it
184 # RemovableMedia = yes;
186 # Maximum File Size = 3GB
187 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
188 ## Changer Device = /dev/sg0
190 # # Enable the Alert command only if you have the mtx package loaded
191 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
192 ## If you have smartctl, enable this, it has more info than tapeinfo
193 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
197 # A Linux or Solaris LTO-3 tape drive
202 # Archive Device = @TAPEDRIVE@
203 # AutomaticMount = yes; # when device opened, read it
205 # RemovableMedia = yes;
207 # Maximum File Size = 4GB
208 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
209 ## Changer Device = /dev/sg0
211 # # Enable the Alert command only if you have the mtx package loaded
212 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
213 ## If you have smartctl, enable this, it has more info than tapeinfo
214 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
218 # A Linux or Solaris LTO-4 tape drive
223 # Archive Device = @TAPEDRIVE@
224 # AutomaticMount = yes; # when device opened, read it
226 # RemovableMedia = yes;
228 # Maximum File Size = 5GB
229 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
230 ## Changer Device = /dev/sg0
232 # # Enable the Alert command only if you have the mtx package loaded
233 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
234 ## If you have smartctl, enable this, it has more info than tapeinfo
235 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
239 # An HP-UX tape drive
244 # Media Type = DLT-8000
245 # Archive Device = /dev/rmt/1mnb
246 # AutomaticMount = yes; # when device opened, read it
248 # RemovableMedia = yes;
252 # Hardware End of Medium = no
253 # Fast Forward Space File = no
255 # # Enable the Alert command only if you have the mtx package loaded
256 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
257 # If you have smartctl, enable this, it has more info than tapeinfo
258 # Alert Command = "sh -c 'smartctl -H -l error %c'"
262 # A FreeBSD tape drive
266 # Description = "DDS-4 for FreeBSD"
268 # Archive Device = /dev/nsa1
269 # AutomaticMount = yes; # when device opened, read it
271 # Offline On Unmount = no
272 # Hardware End of Medium = no
274 # Backward Space Record = no
275 # Fast Forward Space File = no
277 # If you have smartctl, enable this, it has more info than tapeinfo
278 # Alert Command = "sh -c 'smartctl -H -l error %c'"
282 # Send all messages to the Director,
283 # mount messages also are sent to the email address
287 director = @basename@-dir = all