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.
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 = "/home/kern/bacula/bin/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;
77 # # Enable the Alert command only if you have the mtx package loaded
78 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
79 # If you have smartctl, enable this, it has more info than tapeinfo
80 # Alert Command = "sh -c 'smartctl -H -l error %c'"
86 # Media Type = DLT-8000
87 # Archive Device = /dev/nst1
88 # AutomaticMount = yes; # when device opened, read it
90 # RemovableMedia = yes;
93 # # Enable the Alert command only if you have the mtx package loaded
94 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
95 # If you have smartctl, enable this, it has more info than tapeinfo
96 # Alert Command = "sh -c 'smartctl -H -l error %c'"
100 # A Linux or Solaris tape drive
105 # Archive Device = @TAPEDRIVE@
106 # AutomaticMount = yes; # when device opened, read it
108 # RemovableMedia = yes;
110 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
111 ## Changer Device = /dev/sg0
113 # # Enable the Alert command only if you have the mtx package loaded
114 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
115 ## If you have smartctl, enable this, it has more info than tapeinfo
116 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
120 # A FreeBSD tape drive
124 # Description = "DDS-4 for FreeBSD"
126 # Archive Device = /dev/nsa1
127 # AutomaticMount = yes; # when device opened, read it
129 # Offline On Unmount = no
130 # Hardware End of Medium = no
132 # Backward Space Record = no
133 # Fast Forward Space File = no
135 # If you have smartctl, enable this, it has more info than tapeinfo
136 # Alert Command = "sh -c 'smartctl -H -l error %c'"
140 # A OnStream tape drive.
141 # You need the kernel osst driver 0.9.14 or later, and
142 # do "mt -f /dev/nosst0 defblksize 32768" once as root.
146 # Description = "OnStream drive on Linux"
147 # Media Type = OnStream
148 # Archive Device = @TAPEDRIVE@
149 # AutomaticMount = yes; # when device opened, read it
151 # Offline On Unmount = no
152 ## The min/max blocksizes of 32768 are *required*
153 # Minimum Block Size = 32768
154 # Maximum Block Size = 32768
155 # If you have smartctl, enable this, it has more info than tapeinfo
156 # Alert Command = "sh -c 'smartctl -H -l error %c'"
163 # Name = "DVD-Writer"
166 # Archive Device = /dev/hdc
167 # LabelMedia = yes; # lets Bacula label unlabeled media
168 # Random Access = Yes;
169 # AutomaticMount = yes; # when device opened, read it
170 # RemovableMedia = yes;
172 # MaximumPartSize = 800M;
173 # RequiresMount = yes;
174 # MountPoint = /mnt/cdrom;
175 # MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
176 # UnmountCommand = "/bin/umount %m";
177 # SpoolDirectory = /tmp/backup;
178 # WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
179 # FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
183 # For OpenBSD OS >= 3.6
188 # Archive Device = /dev/nrst0
192 # AutomaticMount = yes;
194 # RemovableMedia = yes;
196 # If you have smartctl, enable this, it has more info than tapeinfo
197 # Alert Command = "sh -c 'smartctl -H -l error %c'"
201 # A very old Exabyte with no end of media detection
204 # Name = "Exabyte 8mm"
206 # Archive Device = @TAPEDRIVE@
207 # Hardware end of medium = No;
208 # AutomaticMount = yes; # when device opened, read it
210 # RemovableMedia = yes;
212 # If you have smartctl, enable this, it has more info than tapeinfo
213 # Alert Command = "sh -c 'smartctl -H -l error %c'"
217 # Send all messages to the Director,
218 # mount messages also are sent to the email address
222 director = @hostname@-dir = all