]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/stored/bacula-sd.conf.in
- Fix seg fault in AlertCommand
[bacula/bacula] / bacula / src / stored / bacula-sd.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
5 #
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.
11 #
12
13 Storage {                             # definition of myself
14   Name = @hostname@-sd
15   SDPort = @sd_port@                  # Director's port      
16   WorkingDirectory = "@working_dir@"
17   Pid Directory = "@piddir@"
18   Maximum Concurrent Jobs = 1
19 }
20
21 #
22 # List Directors who are permitted to contact Storage daemon
23 #
24 Director {
25   Name = @hostname@-dir
26   Password = "@sd_password@"
27 }
28
29 #
30 # Restricted Director, used by tray-monitor to get the
31 #   status of the storage daemon
32 #
33 Director {
34   Name = @hostname@-mon
35   Password = "@mon_sd_password@"
36   Monitor = yes
37 }
38
39 #
40 # Devices supported by this Storage daemon
41 # To connect, the Director's bacula-dir.conf must have the
42 #  same Name and MediaType. 
43 #
44
45 Device {
46   Name = FileStorage
47   Media Type = File
48   Archive Device = /tmp
49   LabelMedia = yes;                   # lets Bacula label unlabeled media
50   Random Access = Yes;
51   AutomaticMount = yes;               # when device opened, read it
52   RemovableMedia = no;
53   AlwaysOpen = no;
54 }
55
56 #
57 # A Linux or Solaris tape drive
58 #
59 #Device {
60 #  Name = DDS-4                        # 
61 #  Media Type = DDS-4
62 #  Archive Device = @TAPEDRIVE@
63 #  AutomaticMount = yes;               # when device opened, read it
64 #  AlwaysOpen = yes;
65 #  RemovableMedia = yes;
66 #  RandomAccess = no;
67 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
68 ## Changer Device = /dev/sg0
69 ## AutoChanger = yes
70 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
71 #}
72
73 #
74 # A FreeBSD tape drive
75 #
76 #Device {
77 #  Name = DDS-4 
78 #  Description = "DDS-4 for FreeBSD"
79 #  Media Type = DDS-4
80 #  Archive Device = /dev/nsa1
81 #  AutomaticMount = yes;               # when device opened, read it
82 #  AlwaysOpen = yes
83 #  Offline On Unmount = no
84 #  Hardware End of Medium = no
85 #  BSF at EOM = yes
86 #  Backward Space Record = no
87 #  Fast Forward Space File = no
88 #  TWO EOF = yes
89 #}
90
91 #
92 # A OnStream tape drive. 
93 # You need the kernel osst driver 0.9.14 or later, and
94 #   do "mt -f /dev/nosst0 defblksize 32768" once as root.
95 #
96 #Device {
97 #  Name = OnStream
98 #  Description = "OnStream drive on Linux"
99 #  Media Type = OnStream
100 #  Archive Device = @TAPEDRIVE@
101 #  AutomaticMount = yes;               # when device opened, read it
102 #  AlwaysOpen = yes
103 #  Offline On Unmount = no
104 ## The min/max blocksizes of 32768 are *required*
105 #  Minimum Block Size = 32768
106 #  Maximum Block Size = 32768
107 #}
108  
109
110  
111
112
113 #
114 # A very old Exabyte with no end of media detection
115 #
116 #Device {
117 #  Name = "Exabyte 8mm"
118 #  Media Type = "8mm"
119 #  Archive Device = @TAPEDRIVE@
120 #  Hardware end of medium = No;
121 #  AutomaticMount = yes;               # when device opened, read it
122 #  AlwaysOpen = Yes;
123 #  RemovableMedia = yes;
124 #  RandomAccess = no;
125 #}
126
127
128 # Send all messages to the Director, 
129 # mount messages also are sent to the email address
130 #
131 Messages {
132   Name = Standard
133   director = @hostname@-dir = all
134 }