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