]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/test-bacula-sd.conf.in
Tweak leave SQL library links in rpm
[bacula/bacula] / regress / scripts / test-bacula-sd.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 1.33
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   Plugin Directory = "@sbindir@/plugins"
20   Maximum Concurrent Jobs = 100
21 }
22
23 #
24 # List Directors who are permitted to contact Storage daemon
25 #
26 Director {
27   Name = @hostname@-dir
28   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
29 }
30
31 #
32 # Devices supported by this Storage daemon
33 # To connect, the Director's bacula-dir.conf must have the
34 #  same Name and MediaType. 
35 #
36
37 Device {
38   Name = FileStorage
39   Media Type = File
40   Archive Device = @tmpdir@
41   LabelMedia = yes;                   # lets Bacula label unlabelled media
42   Random Access = Yes;
43   AutomaticMount = yes;               # when device opened, read it
44   RemovableMedia = no;
45   AlwaysOpen = no;
46 # Maximum File Size = 10KB
47 }
48
49 Device {
50   Name = FileStorage1
51   Media Type = File1
52   Archive Device = @tmpdir@
53   LabelMedia = yes;                   # lets Bacula label unlabelled media
54   Random Access = Yes;
55   AutomaticMount = yes;               # when device opened, read it
56   RemovableMedia = no;
57   AlwaysOpen = no;
58 }
59
60
61 #Device {
62 #  Name = "HP DLT 80"
63 #  Media Type = DLT8000
64 #  Archive Device = /dev/nst0
65 #  AutomaticMount = yes;               # when device opened, read it
66 #  AlwaysOpen = yes;
67 #  RemovableMedia = yes;
68 #}
69
70 #Device {
71 #  Name = SDT-7000                     # 
72 #  Media Type = DDS-2
73 #  Archive Device = /dev/nst0
74 #  AutomaticMount = yes;               # when device opened, read it
75 #  AlwaysOpen = yes;
76 #  RemovableMedia = yes;
77 #}
78
79 #Device {
80 #  Name = Floppy
81 #  Media Type = Floppy
82 #  Archive Device = /mnt/floppy
83 #  RemovableMedia = yes;
84 #  Random Access = Yes;
85 #  AutomaticMount = yes;               # when device opened, read it
86 #  AlwaysOpen = no;
87 #}
88
89 #
90 # A very old Exabyte with no end of media detection
91 #
92 #Device {
93 #  Name = "Exabyte 8mm"
94 #  Media Type = "8mm"
95 #  Archive Device = /dev/nst0
96 #  Hardware end of medium = No;
97 #  AutomaticMount = yes;               # when device opened, read it
98 #  AlwaysOpen = Yes;
99 #  RemovableMedia = yes;
100 #}
101
102
103 # Send all messages to the Director, 
104 # mount messages also are sent to the email address
105 #
106 Messages {
107   Name = Standard
108   director = @hostname@-dir = all, !terminate
109 }