]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/full_win32_installer/bacula-sd.conf.in
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / win32 / full_win32_installer / bacula-sd.conf.in
1 #\r
2 # Default Bacula Storage Daemon Configuration file\r
3 #\r
4 #  For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@\r
5 #\r
6 # You may need to change the name of your tape drive\r
7 #   on the "Archive Device" directive in the Device\r
8 #   resource.  If you change the Name and/or the \r
9 #   "Media Type" in the Device resource, please ensure\r
10 #   that bacula-dir.conf has corresponding changes.\r
11 #\r
12 \r
13 Storage {                             # definition of myself\r
14   Name = @storage_name@\r
15   SDPort = @storage_port@                  # Director's port      \r
16   WorkingDirectory = "@working_dir@"\r
17   Pid Directory = "@working_dir@"\r
18   Maximum Concurrent Jobs = @storage_maxjobs@\r
19 }\r
20 \r
21 #\r
22 # List Directors who are permitted to contact Storage daemon\r
23 #\r
24 Director {\r
25   Name = @director_name@\r
26   Password = "@storage_password@"\r
27 }\r
28 \r
29 #\r
30 # Restricted Director, used by tray-monitor to get the\r
31 #   status of the storage daemon\r
32 #\r
33 Director {\r
34   Name = @monitor_name@\r
35   Password = "@monitor_password@"\r
36   Monitor = yes\r
37 }\r
38 \r
39 #\r
40 # Devices supported by this Storage daemon\r
41 # To connect, the Director's bacula-dir.conf must have the\r
42 #  same Name and MediaType. \r
43 #\r
44 \r
45 Device {\r
46   Name = FileStorage\r
47   Media Type = File\r
48   Archive Device = "C:\\Tmp"\r
49   LabelMedia = yes                   # lets Bacula label unlabeled media\r
50   Random Access = Yes\r
51   AutomaticMount = yes               # when device opened, read it\r
52   RemovableMedia = no\r
53   AlwaysOpen = no\r
54 }\r
55 \r
56 #\r
57 # An autochanger device with two drives\r
58 #\r
59 #Autochanger {\r
60 #  Name = Autochanger\r
61 #  Device = Drive-1\r
62 #  Device = Drive-2\r
63 #  Changer Command = "mtx-changer %c %o %S %a %d"\r
64 #  Changer Device = Changer0\r
65 #}\r
66 \r
67 #Device {\r
68 #  Name = Drive-1                      #\r
69 #  Drive Index = 0\r
70 #  Media Type = DLT-8000\r
71 #  Device Type = Tape\r
72 #  Archive Device = Tape0\r
73 #  AutomaticMount = yes               # when device opened, read it\r
74 #  AlwaysOpen = yes\r
75 #  RemovableMedia = yes\r
76 #  RandomAccess = no\r
77 #  AutoChanger = yes\r
78 #  Alert Command = "tapeinfo -f %c | findstr TapeAlert"\r
79 #}\r
80 \r
81 #Device {\r
82 #  Name = Drive-2                      #\r
83 #  Drive Index = 1\r
84 #  Media Type = DLT-8000\r
85 #  Device Type = Tape\r
86 #  Archive Device = Tape1\r
87 #  AutomaticMount = yes               # when device opened, read it\r
88 #  AlwaysOpen = yes\r
89 #  RemovableMedia = yes\r
90 #  RandomAccess = no\r
91 #  AutoChanger = yes\r
92 #  Alert Command = "tapeinfo -f %c | findstr TapeAlert"\r
93 #}\r
94 \r
95 #\r
96 #Device {\r
97 #  Name = DDS-4                        # \r
98 #  Media Type = DDS-4\r
99 #  Device Type = Tape\r
100 #  Archive Device = Tape0\r
101 #  AutomaticMount = yes               # when device opened, read it\r
102 #  AlwaysOpen = yes\r
103 #  RemovableMedia = yes\r
104 #  RandomAccess = no\r
105 #  Alert Command = "tapeinfo -f %c | findstr TapeAlert"\r
106 #}\r
107 \r
108\r
109 # Send all messages to the Director, \r
110 # mount messages also are sent to the email address\r
111 #\r
112 Messages {\r
113   Name = Standard\r
114   director = @director_name@ = all\r
115 }\r