]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/aligned-bacula-sd.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / aligned-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 # Optimized for ZFS Deduplication
38 # Optimized for HPE StorOnce
39 Device {
40   Name = FileStorage
41   Device Type = Aligned
42 #  Maximum Block Size = 128K
43 #  File Alignment = 128K
44 #  Padding Size = 512
45   Maximum Block Size = 64K
46   Minimum Block Size = 0
47   File Alignment = 2K
48   Padding Size = 2K
49   Media Type = File
50   Archive Device = @tmpdir@
51   LabelMedia = yes;                   # lets Bacula label unlabelled media
52   Random Access = Yes;
53   AutomaticMount = yes;               # when device opened, read it
54   RemovableMedia = no;
55   AlwaysOpen = no;
56   Maximum Concurrent Jobs = 10
57 # Maximum File Size = 10KB
58 }
59
60 Device {
61   Name = FileStorage1
62   Media Type = File1
63   Archive Device = @tmpdir@
64   LabelMedia = yes;                   # lets Bacula label unlabelled media
65   Random Access = Yes;
66   AutomaticMount = yes;               # when device opened, read it
67   RemovableMedia = no;
68   AlwaysOpen = no;
69 }
70
71 Device {
72   Name = FileStorage2
73   Media Type = File
74   Archive Device = @tmpdir@
75   LabelMedia = yes;                   # lets Bacula label unlabelled media
76   Random Access = Yes;
77   AutomaticMount = yes;               # when device opened, read it
78   RemovableMedia = no;
79   AlwaysOpen = no;
80 }
81
82
83
84 #Device {
85 #  Name = "HP DLT 80"
86 #  Media Type = DLT8000
87 #  Archive Device = /dev/nst0
88 #  AutomaticMount = yes;               # when device opened, read it
89 #  AlwaysOpen = yes;
90 #  RemovableMedia = yes;
91 #}
92
93 #Device {
94 #  Name = SDT-7000                     # 
95 #  Media Type = DDS-2
96 #  Archive Device = /dev/nst0
97 #  AutomaticMount = yes;               # when device opened, read it
98 #  AlwaysOpen = yes;
99 #  RemovableMedia = yes;
100 #}
101
102 #Device {
103 #  Name = Floppy
104 #  Media Type = Floppy
105 #  Archive Device = /mnt/floppy
106 #  RemovableMedia = yes;
107 #  Random Access = Yes;
108 #  AutomaticMount = yes;               # when device opened, read it
109 #  AlwaysOpen = no;
110 #}
111
112 #
113 # A very old Exabyte with no end of media detection
114 #
115 #Device {
116 #  Name = "Exabyte 8mm"
117 #  Media Type = "8mm"
118 #  Archive Device = /dev/nst0
119 #  Hardware end of medium = No;
120 #  AutomaticMount = yes;               # when device opened, read it
121 #  AlwaysOpen = Yes;
122 #  RemovableMedia = yes;
123 #}
124
125
126 # Send all messages to the Director, 
127 # mount messages also are sent to the email address
128 #
129 Messages {
130   Name = Standard
131   director = @hostname@-dir = all, !terminate
132 }
133
134 Cloud {
135   Name = DummyCloud
136   Driver = "File"
137   HostName = "@tmpdir@/cloud"
138   BucketName = "DummyBucket"
139   AccessKey = "DummyAccessKey"
140   SecretKey = "DummySecretKey"
141   Protocol = HTTPS
142   UriStyle = VirtualHost
143 }