]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2d.conf.in
Delete unwanted subdirectory
[bacula/bacula] / regress / scripts / bacula-sd-2d.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 2.1.x
5 #
6 #  Special configuration for testing two different tape drives
7 #    with different Media
8 #
9
10 Storage {                             # definition of myself
11   Name = @hostname@-sd
12   SDPort = 8103                  # Director's port      
13   WorkingDirectory = "@working_dir@"
14   Pid Directory = "@piddir@"
15   Subsys Directory = "@subsysdir@"
16 }
17
18 #
19 # List Directors who are permitted to contact Storage daemon
20 #
21 Director {
22   Name = @hostname@-dir
23   Password = "storage-pw"
24 }
25
26 #
27 # Devices supported by this Storage daemon
28 # To connect, the Director's bacula-dir.conf must have the
29 #  same Name and MediaType. 
30 #
31 Autochanger {
32   Name = DDS-4
33   Changer Device = @autochanger@
34   Changer Command ="@scriptdir@/mtx-changer %c %o %S %a %d"
35   Device = Drive-0         
36 }
37
38 Device {
39   Name = Drive-0
40   Media Type = DDS-4
41   Archive Device = @tape_drive@
42   AutomaticMount = yes;               # when device opened, read it
43   Autochanger = yes
44   Drive Index = 0
45   AlwaysOpen = yes;
46   RemovableMedia = yes;
47   @@sbindir@/tape_options
48 # Maximum File Size = 1000000
49 }
50
51 Device {
52   Name = DLT80
53   Media Type = DLT8000
54   Archive Device = @tape_drive1@
55   AutomaticMount = yes;               # when device opened, read it
56   AlwaysOpen = yes;
57   RemovableMedia = yes;
58   @@sbindir@/tape_options
59 # Maximum File Size = 1000000
60 }
61
62
63
64 # Send all messages to the Director, 
65 # mount messages also are sent to the email address
66 #
67 Messages {
68   Name = Standard
69   director = @hostname@-dir = all, !terminate
70 }