]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/test-bacula-sd.conf.in
Misc
[bacula/bacula] / regress / scripts / test-bacula-sd.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 1.30 (12 April 2003) -- redhat 7.3
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 = 8103                  # 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
35 Device {
36   Name = FileStorage
37   Media Type = File
38   Archive Device = @tmpdir@
39   LabelMedia = yes;                   # lets Bacula label unlabelled media
40   Random Access = Yes;
41   AutomaticMount = yes;               # when device opened, read it
42   RemovableMedia = no;
43   AlwaysOpen = no;
44 }
45
46 Device {
47   Name = FileStorage1
48   Media Type = File1
49   Archive Device = @tmpdir@
50   LabelMedia = yes;                   # lets Bacula label unlabelled media
51   Random Access = Yes;
52   AutomaticMount = yes;               # when device opened, read it
53   RemovableMedia = no;
54   AlwaysOpen = no;
55 }
56
57
58 #Device {
59 #  Name = "HP DLT 80"
60 #  Media Type = DLT8000
61 #  Archive Device = /dev/nst0
62 #  AutomaticMount = yes;               # when device opened, read it
63 #  AlwaysOpen = yes;
64 #  RemovableMedia = yes;
65 #}
66
67 #Device {
68 #  Name = SDT-7000                     # 
69 #  Media Type = DDS-2
70 #  Archive Device = /dev/nst0
71 #  AutomaticMount = yes;               # when device opened, read it
72 #  AlwaysOpen = yes;
73 #  RemovableMedia = yes;
74 #}
75
76 #Device {
77 #  Name = Floppy
78 #  Media Type = Floppy
79 #  Archive Device = /mnt/floppy
80 #  RemovableMedia = yes;
81 #  Random Access = Yes;
82 #  AutomaticMount = yes;               # when device opened, read it
83 #  AlwaysOpen = no;
84 #}
85
86 #
87 # A very old Exabyte with no end of media detection
88 #
89 #Device {
90 #  Name = "Exabyte 8mm"
91 #  Media Type = "8mm"
92 #  Archive Device = /dev/nst0
93 #  Hardware end of medium = No;
94 #  AutomaticMount = yes;               # when device opened, read it
95 #  AlwaysOpen = Yes;
96 #  RemovableMedia = yes;
97 #}
98
99
100 # Send all messages to the Director, 
101 # mount messages also are sent to the email address
102 #
103 Messages {
104   Name = Standard
105   director = @hostname@-dir = all
106 }