]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2disk.conf.in
regress: Add mssql functions to regress-win32.pl
[bacula/bacula] / regress / scripts / bacula-sd-2disk.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 = tape
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 = tape
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 = tape
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
68 Autochanger {
69   Name = Virtual
70   Changer Device = /dev/null
71   Changer Command =""
72   Device = Virtual-1, Virtual-2
73 }
74
75 Device {
76   Name = Virtual-1
77   Device Type = File
78   Media Type = Disk
79   Archive Device = @tmpdir@
80   AutomaticMount = yes;               # when device opened, read it
81   Autochanger = yes
82   Drive Index = 0
83   AlwaysOpen = yes;
84   RemovableMedia = yes;
85 # Maximum File Size = 1000000
86 }
87
88 Device {
89   Name = Virtual-2
90   Device Type = File
91   Media Type = Disk
92   Archive Device = @tmpdir@
93   AutomaticMount = yes;               # when device opened, read it
94   Autochanger = yes
95   Drive Index = 1
96   AlwaysOpen = yes;
97   RemovableMedia = yes;
98 # Maximum File Size = 1000000
99 }
100
101 Device {
102   Name = FileStorage
103   mediatype = FileMedia
104   Archive Device = @tmpdir@
105   LabelMedia = yes;                   # lets Bacula label unlabeled media
106   Random Access = Yes;
107   AutomaticMount = yes;               # when device opened, read it
108   RemovableMedia = no;
109   AlwaysOpen = no;
110 }
111
112
113
114 # Send all messages to the Director, 
115 # mount messages also are sent to the email address
116 #
117 Messages {
118   Name = Standard
119   director = @hostname@-dir = all, !terminate
120 }