]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-faketape.conf.in
ebl Add faketape test
[bacula/bacula] / regress / scripts / bacula-sd-faketape.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 = @autochanger@
31   Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d"
32   Device = LTO3_0, LTO3_1, LTO3_2, LTO1_3, LTO1_4
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 = 10M
47   Maximum Job Spool Size = 10M
48   Spool Directory =  @working_dir@
49   Device Type = Tape
50 }
51
52 Device {
53   Name = LTO3_1
54   Media Type = LTO3
55   Archive Device = @working_dir@/ach/drive1
56   AutomaticMount = yes;               # when device opened, read it
57   Autochanger = yes
58   Drive Index = 1
59   AlwaysOpen = yes;
60   RemovableMedia = yes;
61   @@sbindir@/tape_options
62   Maximum File Size = 10M
63   Maximum Job Spool Size = 10M
64   Spool Directory =  @working_dir@
65   Device Type = Tape
66 }
67
68
69 Device {
70   Name = LTO3_2
71   Media Type = LTO3
72   Archive Device = @working_dir@/ach/drive2
73   AutomaticMount = yes;               # when device opened, read it
74   Autochanger = yes
75   Drive Index = 2
76   AlwaysOpen = yes;
77   RemovableMedia = yes;
78   @@sbindir@/tape_options
79   Maximum File Size = 10M
80   Auto Select = no
81   Maximum Job Spool Size = 10M
82   Spool Directory =  @working_dir@
83   Device Type = Tape
84 }
85
86
87 Device {
88   Name = LTO1_3
89   Media Type = LTO1
90   Archive Device = @working_dir@/ach/drive3
91   AutomaticMount = yes;               # when device opened, read it
92   Autochanger = yes
93   Drive Index = 3
94   AlwaysOpen = yes;
95   RemovableMedia = yes;
96   @@sbindir@/tape_options
97   Maximum File Size = 10M
98   Maximum Job Spool Size = 10M
99   Spool Directory =  @working_dir@
100   Device Type = Tape
101 }
102
103
104 Device {
105   Name = LTO1_4
106   Media Type = LTO1
107   Archive Device = @working_dir@/ach/drive4
108   AutomaticMount = yes;               # when device opened, read it
109   Autochanger = yes
110   Drive Index = 4
111   AlwaysOpen = yes;
112   RemovableMedia = yes;
113   @@sbindir@/tape_options
114   Maximum File Size = 10M
115   Maximum Job Spool Size = 10M
116   Spool Directory =  @working_dir@
117   Device Type = Tape
118 }
119
120
121
122 # Send all messages to the Director, 
123 # mount messages also are sent to the email address
124 #
125 Messages {
126   Name = Standard
127   director = @hostname@-dir = all, !terminate
128 }