]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-vtape.conf.in
regress: Add mssql functions to regress-win32.pl
[bacula/bacula] / regress / scripts / bacula-sd-vtape.conf.in
1
2 # Bacula Storage Daemon Configuration file with
3 # dummy Autochanger
4 #
5 #
6
7 Storage {                             # definition of myself
8   Name = @hostname@-sd
9   SDPort = @sdport@                  # Director's port      
10   WorkingDirectory = "@working_dir@"
11   Pid Directory = "@piddir@"
12   Subsys Directory = "@subsysdir@"
13 }
14
15 #
16 # List Directors who are permitted to contact Storage daemon
17 #
18 Director {
19   Name = @hostname@-dir
20   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
21 }
22
23 #
24 # Devices supported by this Storage daemon
25 # To connect, the Director's bacula-dir.conf must have the
26 #  same Name and MediaType. 
27 #
28 Autochanger {
29   Name = LTO
30   Changer Device = @working_dir@/ach/conf
31   Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
32   Device = LTO3_0, LTO3_1, LTO3_2, LTO1_5, LTO1_3, LTO1_4, LTO1-ANSI_6
33 }
34
35
36 Device {
37   Name = LTO3_0
38   Media Type = LTO3
39   Archive Device = @working_dir@/ach/drive0
40   AutomaticMount = yes;               # when device opened, read it
41   Autochanger = yes
42   Drive Index = 0
43   AlwaysOpen = yes;
44   RemovableMedia = yes;
45   @@sbindir@/tape_options
46   Maximum File Size = 7M
47   Maximum Volume Size = 30M
48   Maximum Job Spool Size = 10M
49   Spool Directory =  @working_dir@
50   Device Type = VTape
51 }
52
53 Device {
54   Name = LTO3_1
55   Media Type = LTO3
56   Archive Device = @working_dir@/ach/drive1
57   AutomaticMount = yes;               # when device opened, read it
58   Autochanger = yes
59   Drive Index = 1
60   AlwaysOpen = yes;
61   RemovableMedia = yes;
62   @@sbindir@/tape_options
63   Maximum File Size = 8M
64   Maximum Volume Size = 50M
65   Maximum Job Spool Size = 10M
66   Spool Directory =  @working_dir@
67   Device Type = VTape
68 }
69
70
71 Device {
72   Name = LTO3_2
73   Media Type = LTO3
74   Archive Device = @working_dir@/ach/drive2
75   AutomaticMount = yes;               # when device opened, read it
76   Autochanger = yes
77   Drive Index = 2
78   AlwaysOpen = yes;
79   RemovableMedia = yes;
80   @@sbindir@/tape_options
81   Auto Select = no
82   Maximum File Size = 8M
83   Maximum Volume Size = 50M
84   Maximum Job Spool Size = 10M
85   Spool Directory =  @working_dir@
86   Device Type = VTape
87 }
88
89
90 Device {
91   Name = LTO1_3
92   Media Type = LTO1
93   Archive Device = @working_dir@/ach/drive3
94   AutomaticMount = yes;               # when device opened, read it
95   Autochanger = yes
96   Drive Index = 3
97   AlwaysOpen = yes;
98   RemovableMedia = yes;
99   @@sbindir@/tape_options
100   Maximum File Size = 8M
101   Maximum Volume Size = 50M
102   Maximum Job Spool Size = 10M
103   Spool Directory =  @working_dir@
104   Device Type = VTape
105 }
106
107
108 Device {
109   Name = LTO1_4
110   Media Type = LTO1
111   Archive Device = @working_dir@/ach/drive4
112   AutomaticMount = yes;               # when device opened, read it
113   Autochanger = yes
114   Drive Index = 4
115   AlwaysOpen = yes;
116   RemovableMedia = yes;
117   @@sbindir@/tape_options
118   Maximum File Size = 10M
119   Maximum Volume Size = 30M
120   Maximum Job Spool Size = 10M
121   Spool Directory =  @working_dir@
122   Device Type = VTape
123 }
124
125 Device {
126   Name = LTO1_5
127   Media Type = LTO1
128   Archive Device = @working_dir@/ach/drive5
129   AutomaticMount = yes;               # when device opened, read it
130   Autochanger = yes
131   Drive Index = 5
132   AlwaysOpen = yes;
133   RemovableMedia = yes;
134   @@sbindir@/tape_options
135   Maximum File Size = 10M
136   Maximum Volume Size = 30M
137   Maximum Job Spool Size = 10M
138   Spool Directory =  @working_dir@
139   Device Type = VTape
140   Auto Select = no
141 }
142
143 Device {
144   Name = LTO1-ANSI_6
145   Media Type = LTO1-ANSI
146   Archive Device = @working_dir@/ach/drive6
147   AutomaticMount = yes;               # when device opened, read it
148   Autochanger = yes
149   Drive Index = 6
150   AlwaysOpen = yes;
151   RemovableMedia = yes;
152   @@sbindir@/tape_options
153   Maximum File Size = 10M
154   Maximum Volume Size = 30M
155   Maximum Job Spool Size = 10M
156   Spool Directory =  @working_dir@
157   Device Type = VTape
158   Label Type = ansi
159 }
160
161 Device {
162   Name = FileStorage
163   Device Type = File
164   Media Type = FileMedia
165   Archive Device = @tmpdir@
166   AutomaticMount = yes;               # when device opened, read it
167   AlwaysOpen = yes;
168   RemovableMedia = yes;
169 # Maximum File Size = 1000000
170 }
171
172
173 # Send all messages to the Director, 
174 # mount messages also are sent to the email address
175 #
176 Messages {
177   Name = Standard
178   director = @hostname@-dir = all, !terminate
179 }