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 Storage { # definition of myself
15 SDPort = @sd_port@ # Director's port
16 WorkingDirectory = "@working_dir@"
17 Pid Directory = "@piddir@"
18 Maximum Concurrent Jobs = 20
22 # List Directors who are permitted to contact Storage daemon
26 Password = "@sd_password@"
30 # Restricted Director, used by tray-monitor to get the
31 # status of the storage daemon
35 Password = "@mon_sd_password@"
40 # Devices supported by this Storage daemon
41 # To connect, the Director's bacula-dir.conf must have the
42 # same Name and MediaType.
48 Archive Device = @archivedir@
49 LabelMedia = yes; # lets Bacula label unlabeled media
51 AutomaticMount = yes; # when device opened, read it
57 # An autochanger device with two drives
63 # Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
64 # Changer Device = /dev/sg0
70 # Media Type = DLT-8000
71 # Archive Device = /dev/nst0
72 # AutomaticMount = yes; # when device opened, read it
74 # RemovableMedia = yes;
78 # # Enable the Alert command only if you have the mtx package loaded
79 # # Note, apparently on some systems, tapeinfo resets the SCSI controller
80 # # thus if you turn this on, make sure it does not reset your SCSI
81 # # controller. I have never had any problems, and smartctl does
82 # # not seem to cause such problems.
84 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
85 # If you have smartctl, enable this, it has more info than tapeinfo
86 # Alert Command = "sh -c 'smartctl -H -l error %c'"
92 # Media Type = DLT-8000
93 # Archive Device = /dev/nst1
94 # AutomaticMount = yes; # when device opened, read it
96 # RemovableMedia = yes;
99 # # Enable the Alert command only if you have the mtx package loaded
100 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
101 # If you have smartctl, enable this, it has more info than tapeinfo
102 # Alert Command = "sh -c 'smartctl -H -l error %c'"
106 # A Linux or Solaris tape drive
111 # Archive Device = @TAPEDRIVE@
112 # AutomaticMount = yes; # when device opened, read it
114 # RemovableMedia = yes;
116 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
117 ## Changer Device = /dev/sg0
119 # # Enable the Alert command only if you have the mtx package loaded
120 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
121 ## If you have smartctl, enable this, it has more info than tapeinfo
122 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
126 # A FreeBSD tape drive
130 # Description = "DDS-4 for FreeBSD"
132 # Archive Device = /dev/nsa1
133 # AutomaticMount = yes; # when device opened, read it
135 # Offline On Unmount = no
136 # Hardware End of Medium = no
138 # Backward Space Record = no
139 # Fast Forward Space File = no
141 # If you have smartctl, enable this, it has more info than tapeinfo
142 # Alert Command = "sh -c 'smartctl -H -l error %c'"
146 # A OnStream tape drive.
147 # You need the kernel osst driver 0.9.14 or later, and
148 # do "mt -f /dev/nosst0 defblksize 32768" once as root.
152 # Description = "OnStream drive on Linux"
153 # Media Type = OnStream
154 # Archive Device = @TAPEDRIVE@
155 # AutomaticMount = yes; # when device opened, read it
157 # Offline On Unmount = no
158 ## The min/max blocksizes of 32768 are *required*
159 # Minimum Block Size = 32768
160 # Maximum Block Size = 32768
161 # If you have smartctl, enable this, it has more info than tapeinfo
162 # Alert Command = "sh -c 'smartctl -H -l error %c'"
169 # Name = "DVD Writer"
172 # Archive Device = /dev/hdc
173 # LabelMedia = yes; # lets Bacula label unlabeled media
174 # Random Access = Yes;
175 # AutomaticMount = yes; # when device opened, read it
176 # RemovableMedia = yes;
178 # MaximumPartSize = 800M;
179 # RequiresMount = yes;
180 # MountPoint = /mnt/cdrom;
181 # MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
182 # UnmountCommand = "/bin/umount %m";
183 # SpoolDirectory = /tmp/backup;
184 # WritePartCommand = "@scriptdir@/dvd-handler %a write %e %v"
185 # FreeSpaceCommand = "@scriptdir@/dvd-handler %a free"
189 # For OpenBSD OS >= 3.6
194 # Archive Device = /dev/nrst0
198 # AutomaticMount = yes;
200 # RemovableMedia = yes;
202 # If you have smartctl, enable this, it has more info than tapeinfo
203 # Alert Command = "sh -c 'smartctl -H -l error %c'"
207 # A very old Exabyte with no end of media detection
210 # Name = "Exabyte 8mm"
212 # Archive Device = @TAPEDRIVE@
213 # Hardware end of medium = No;
214 # AutomaticMount = yes; # when device opened, read it
216 # RemovableMedia = yes;
218 # If you have smartctl, enable this, it has more info than tapeinfo
219 # Alert Command = "sh -c 'smartctl -H -l error %c'"
223 # Send all messages to the Director,
224 # mount messages also are sent to the email address
228 director = @hostname@-dir = all