]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2disk-drive.conf.in
ebl Update to support faketape driver
[bacula/bacula] / regress / scripts / bacula-sd-2disk-drive.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 1.39
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 = @sdport@                  # Director's port      
16   WorkingDirectory = "@working_dir@"
17   Pid Directory = "@piddir@"
18   Subsys Directory = "@subsysdir@"
19 }
20
21 #
22 # List Directors who are permitted to contact Storage daemon
23 #
24 Director {
25   Name = @hostname@-dir
26   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
27 }
28
29 #
30 # Devices supported by this Storage daemon
31 # To connect, the Director's bacula-dir.conf must have the
32 #  same Name and MediaType. 
33 #
34 Autochanger {
35   Name = DDS-4
36   Changer Device = @disk_drive@/conf
37   Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
38   Device = Drive-0, Drive-1
39 }
40
41 Device {
42   Name = Drive-0
43   Device Type = File
44   Media Type = DDS-4
45   Archive Device = @disk_drive@/drive0
46   AutomaticMount = yes;               # when device opened, read it
47   Autochanger = yes
48   Drive Index = 0
49   AlwaysOpen = yes;
50   RemovableMedia = yes;
51 # Maximum File Size = 1000000
52 }
53
54 Device {
55   Name = Drive-1
56   Device Type = File
57   Media Type = DDS-4
58   Archive Device = @disk_drive@/drive1
59   AutomaticMount = yes;               # when device opened, read it
60   Autochanger = yes
61   Drive Index = 1
62   AlwaysOpen = yes;
63   RemovableMedia = yes;
64 # Maximum File Size = 1000000
65 }
66
67 Autochanger {
68   Name = Virtual
69   Changer Device = /dev/null
70   Changer Command =""
71   Device = Virtual-1, Virtual-2
72 }
73
74 Device {
75   Name = Virtual-1
76   Device Type = File
77   Media Type = Disk
78   Archive Device = tmp
79   AutomaticMount = yes;               # when device opened, read it
80   Autochanger = yes
81   Drive Index = 0
82   AlwaysOpen = yes;
83   RemovableMedia = yes;
84 # Maximum File Size = 1000000
85 }
86
87 Device {
88   Name = Virtual-2
89   Device Type = File
90   Media Type = Disk
91   Archive Device = tmp
92   AutomaticMount = yes;               # when device opened, read it
93   Autochanger = yes
94   Drive Index = 1
95   AlwaysOpen = yes;
96   RemovableMedia = yes;
97 # Maximum File Size = 1000000
98 }
99
100
101 # Send all messages to the Director, 
102 # mount messages also are sent to the email address
103 #
104 Messages {
105   Name = Standard
106   director = @hostname@-dir = all, !terminate
107 }