This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
/
director-resource-client-definitions.tex
254 lines (185 loc) · 9.49 KB
/
director-resource-client-definitions.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
\defDirective{Dir}{Client}{Address}{}{}{%
Where the address is a host name, a fully qualified domain name, or a
network address in dotted quad notation for a Bareos File server daemon.
This directive is required.
}
\defDirective{Dir}{Client}{Auth Type}{}{}{%
Specifies the authentication type that must be supplied when connecting to
a backup protocol that uses a specific authentication type.
}
\defDirective{Dir}{Client}{Auto Prune}{}{}{%
If set to \argument{yes},
Bareos will automatically apply the \linkResourceDirective{Dir}{Client}{File Retention} period
and the \linkResourceDirective{Dir}{Client}{Job Retention} period for the client at the end of the job.
Pruning affects only information in the catalog and not data
stored in the backup archives (on Volumes), but if pruning deletes all data
referring to a certain volume, the volume is regarded as empty and will possibly
be overwritten before the volume retention has expired.
}
\defDirective{Dir}{Client}{Catalog}{}{}{%
This specifies the name of the catalog resource to be used for this Client.
If none is specified the first defined catalog is used.
}
\defDirective{Dir}{Client}{Connection From Client To Director}{}{}{%
For details, see \nameref{sec:ClientInitiatedConnection}.
}
\defDirective{Dir}{Client}{Connection From Director To Client}{}{}{%
}
\defDirective{Dir}{Client}{Description}{}{}{%
}
\defDirective{Dir}{Client}{Enabled}{}{}{%
}
\defDirective{Dir}{Client}{FD Address}{}{}{%
}
\defDirective{Dir}{Client}{FD Password}{}{}{%
}
\defDirective{Dir}{Client}{FD Port}{}{}{%
Where the port is a port number at which the \bareosFd can
be contacted. The default is 9102. For NDMP backups set this to 10000.
}
\defDirective{Dir}{Client}{File Retention}{}{}{%
The File Retention directive defines the length of time that Bareos will
keep File records in the Catalog database after the End time of the
Job corresponding to the File records.
When this time period expires
and \resourceDirectiveValue{Dir}{Client}{Auto Prune}{yes},
Bareos will prune (remove) File records
that are older than the specified File Retention period. Note, this affects
only records in the catalog database. It does not affect your archive
backups.
File records may actually be retained for a shorter period than you specify
on this directive if you specify either a shorter \linkResourceDirective{Dir}{Client}{Job Retention} or a
shorter \linkResourceDirective{Dir}{Pool}{Volume Retention} period. The shortest retention period of the
three takes precedence.
The default is 60 days.
}
\defDirective{Dir}{Client}{Hard Quota}{}{}{%
The amount of data determined by the Hard Quota directive sets the hard limit of backup space that cannot be exceeded. This is the maximum amount this client can back up before any backup job will be aborted.
If the Hard Quota is exceeded, the running job is terminated:
\bconfigInput{config/DirClientHardQuota1.conf}
}
\defDirective{Dir}{Client}{Heartbeat Interval}{}{}{%
This directive is optional and if specified will cause the Director to
set a keepalive interval (heartbeat) in seconds on each of the sockets
it opens for the Storage resource.
If set, this value overrides \linkResourceDirective{Dir}{Director}{Heartbeat Interval}.
}
\defDirective{Dir}{Client}{Job Retention}{}{}{%
The Job Retention directive defines the length of time that Bareos will keep
Job records in the Catalog database after the Job End time. When
this time period expires and \resourceDirectiveValue{Dir}{Client}{Auto Prune}{yes}
Bareos will prune (remove) Job records that are older than the specified
File Retention period. As with the other retention periods, this
affects only records in the catalog and not data in your archive backup.
If a Job record is selected for pruning, all associated File and JobMedia
records will also be pruned regardless of the File Retention period set.
As a consequence, you normally will set the File retention period to be
less than the Job retention period. The Job retention period can actually
be less than the value you specify here if you set the \linkResourceDirective{Dir}{Pool}{Volume
Retention} directive to a smaller duration. This is
because the Job retention period and the Volume retention period are
independently applied, so the smaller of the two takes precedence.
The default is 180 days.
}
\defDirective{Dir}{Client}{Lan Address}{}{}{%
This directive might be useful in network setups where the \bareosDir and \bareosSd need different addresses to communicate with the \bareosFd.
For details, see \nameref{LanAddress}.
This directive corresponds to \linkResourceDirective{Dir}{Storage}{Lan Address}.
}
\defDirective{Dir}{Client}{Maximum Bandwidth Per Job}{}{}{%
The speed parameter specifies the maximum allowed bandwidth that a job may use
when started for this Client.
}
\defDirective{Dir}{Client}{Maximum Concurrent Jobs}{}{}{%
This directive specifies the maximum number of Jobs with the current Client
that can run concurrently. Note, this directive limits only Jobs for Clients
with the same name as the resource in which it appears. Any other
restrictions on the maximum concurrent jobs such as in the Director, Job or
Storage resources will also apply in addition to any limit specified here.
}
\defDirective{Dir}{Client}{Name}{}{}{%
The client name which will be used in the Job resource directive or in the
console run command.
}
\defDirective{Dir}{Client}{NDMP Block Size}{}{}{%
This directive sets the default NDMP blocksize for this client.
}
\defDirective{Dir}{Client}{NDMP Log Level}{}{}{%
This directive sets the loglevel for the NDMP protocol library.
}
\defDirective{Dir}{Client}{Passive}{}{13.2.0}{%
The normal way of initializing the data channel (the channel where the backup data itself is transported)
is done by the file daemon (client) that connects to the storage daemon.
By using the client passive mode, the initialization of the datachannel is reversed, so that the storage daemon connects to the filedaemon.
See chapter \ilink{Passive Client}{PassiveClient}.
}
\defDirective{Dir}{Client}{Password}{}{}{%
This is the password to be used when establishing a connection with the File
services, so the Client configuration file on the machine to be backed up
must have the same password defined for this Director.
The password is plain text.
}
\defDirective{Dir}{Client}{Port}{}{}{%
}
\defDirective{Dir}{Client}{Protocol}{Native{\textbar}NDMP}{13.2.0}{%
The backup protocol to use to run the Job.
Currently the director understands the following protocols:
\begin{enumerate}
\item Native - The native Bareos protocol
\item NDMP - The NDMP protocol
\end{enumerate}
}
\defDirective{Dir}{Client}{Quota Include Failed Jobs}{}{}{%
When calculating the amount a client used take into consideration any failed Jobs.
}
\defDirective{Dir}{Client}{Soft Quota}{}{}{%
This is the amount after which there will be a warning issued that a client
is over his softquota. A client can keep doing backups until it hits the
hard quota or when the \linkResourceDirective{Dir}{Client}{Soft Quota Grace Period} is expired.
}
\defDirective{Dir}{Client}{Soft Quota Grace Period}{}{}{%
Time allowed for a client to be over its \linkResourceDirective{Dir}{Client}{Soft Quota} before it will be enforced.
When the amount of data backed up by the client outruns the value specified by the Soft Quota directive, the next start of a backup job will start the soft quota grace time period. This is written to the job log:
\bconfigInput{config/DirClientSoftQuotaGracePeriod1.conf}
In the Job Overview, the value of Grace Expiry Date: will then change from \parameter{Soft Quota was never exceeded} to the date when the grace time expires, e.g. \parameter{11-Dec-2012 04:09:05}.
During that period, it is possible to do backups even if the total amount of stored data exceeds the limit specified by soft quota.
If in this state, the job log will write:
\bconfigInput{config/DirClientSoftQuotaGracePeriod2.conf}
After the grace time expires, in the next backup job of the client, the value for Burst Quota will be set to the value that the client has stored at this point in time. Also, the job will be terminated. The following information in the job log shows what happened:
\bconfigInput{config/DirClientSoftQuotaGracePeriod3.conf}
At this point, it is not possible to do any backup of the client. To be able to do more backups, the amount of stored data for this client has to fall under the burst quota value.
}
\defDirective{Dir}{Client}{Strict Quotas}{}{}{%
The directive Strict Quotas determines whether, after the Grace Time Period is over,
to enforce the Burst Limit (Strict Quotas = {\bf No}) or
the Soft Limit (Strict Quotas = {\bf Yes}).
The Job Log shows either
\bconfigInput{config/DirClientStrictQuotas1.conf}
or
\bconfigInput{config/DirClientStrictQuotas2.conf}
}
\defDirective{Dir}{Client}{TLS Allowed CN}{}{}{%
}
\defDirective{Dir}{Client}{TLS Authenticate}{}{}{%
}
\defDirective{Dir}{Client}{TLS CA Certificate Dir}{}{}{%
}
\defDirective{Dir}{Client}{TLS CA Certificate File}{}{}{%
}
\defDirective{Dir}{Client}{TLS Certificate}{}{}{%
}
\defDirective{Dir}{Client}{TLS Certificate Revocation List}{}{}{%
}
\defDirective{Dir}{Client}{TLS Enable}{}{}{%
Bareos can be configured to encrypt all its network traffic.
See chapter \nameref{TlsDirectives} to see,
how the Bareos Director (and the other components) must be configured to use TLS.
}
\defDirective{Dir}{Client}{TLS Key}{}{}{%
}
\defDirective{Dir}{Client}{TLS Require}{}{}{%
}
\defDirective{Dir}{Client}{Username}{}{}{%
Specifies the username that must be supplied when authenticating.
Only used for the non Native protocols at the moment.
}