You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if you want two different jobs to run simultaneously backing up the same Client to the same Storage device, they will run concurrently only if you have set :strong:`Maximum Concurrent Jobs`\ greater than one in the :config:option:`Dir/Director`\ resource, the :config:option:`Dir/Client`\ resource, and the :config:option:`Dir/Storage`\ resource in |dir| configuration.
120
115
@@ -128,35 +123,52 @@ Below is a super stripped down |dir| configuration showing you the four places w
128
123
.. code-block:: bareosconfig
129
124
:caption: Concurrent Jobs Example
130
125
131
-
#
132
-
# Bareos Director Configuration /etc/bareos/bareos-dir.d/*
133
-
#
134
-
Director {
135
-
Name = bareos-dir
136
-
Maximum Concurrent Jobs = 4
137
-
...
138
-
}
139
-
Job {
140
-
Name = "NightlySave"
141
-
Maximum Concurrent Jobs = 4
142
-
Client = bareos-fd
143
-
Storage = File
144
-
...
145
-
}
146
-
Client {
147
-
Name = bareos-fd
148
-
Maximum Concurrent Jobs = 4
149
-
...
150
-
}
151
-
Storage {
152
-
Name = File
153
-
Maximum Concurrent Jobs = 4
154
-
...
155
-
}
126
+
#
127
+
# Bareos Director Configuration /etc/bareos/bareos-dir.d/*
128
+
#
129
+
Director {
130
+
Name = bareos-dir
131
+
Maximum Concurrent Jobs = 4
132
+
...
133
+
}
134
+
Client {
135
+
Name = bareos-fd
136
+
Maximum Concurrent Jobs = 4
137
+
...
138
+
}
139
+
Storage {
140
+
Name = File
141
+
Maximum Concurrent Jobs = 4
142
+
...
143
+
}
144
+
Job {
145
+
Name = "NightlySave"
146
+
Maximum Concurrent Jobs = 4
147
+
Client = bareos-fd
148
+
Storage = File
149
+
...
150
+
}
151
+
152
+
153
+
154
+
.. note::
155
+
156
+
:sinceVersion:`24.0.0: Maximum Concurrent Jobs` the following directives have been deprecated and
The |sd| configuration file has relatively few resource definitions. However, due to the great variation in backup media and system capabilities, the storage daemon must be highly configurable. As a consequence, there are quite a large number of directives in the Device Resource definition that allow you to define all the characteristics of your Storage device (normally a tape drive). Fortunately, with modern storage devices, the defaults are sufficient, and very few directives
9
-
are actually needed.
11
+
The |sd| configuration file has relatively few resource definitions. However, due to the great variation
12
+
in backup media and system capabilities, the storage daemon must be highly configurable. As a consequence,
13
+
there are quite a large number of directives in the Device Resource definition that allow you to define
14
+
all the characteristics of your Storage device (normally a tape drive). Fortunately, with modern
15
+
storage devices, the defaults are sufficient, and very few directives are actually needed.
10
16
11
-
For a general discussion of configuration file and resources including the data types recognized by Bareos, please see the :ref:`Configuration <ConfigureChapter>` chapter of this manual. The following Storage Resource definitions must be defined:
17
+
For a general discussion of configuration file and resources including the data types recognized by
18
+
Bareos, please see the :ref:`Configuration <ConfigureChapter>` chapter of this manual.
19
+
20
+
The following Storage Resource definitions must be defined:
12
21
13
22
- :ref:`Storage <StorageResourceStorage>` – to define the name of the Storage daemon.
14
23
@@ -29,9 +38,13 @@ Following resources are optional:
In general, the properties specified under the Storage resource define global properties of the Storage daemon. Each Storage daemon configuration file must have one and only one Storage resource definition.
45
+
In general, the properties specified under the Storage resource define global properties of the
46
+
Storage daemon. Each Storage daemon configuration file must have one and only one Storage resource
@@ -48,18 +61,21 @@ The following is a typical Storage daemon storage resource definition.
48
61
#
49
62
Storage {
50
63
Name = "Storage daemon"
51
-
Address = localhost
64
+
Address = bareos-sd.example.com
52
65
}
53
66
54
67
.. _StorageResourceDirector:
55
68
56
69
Director Resource
57
70
-----------------
58
71
59
-
:index:`\ <single: Resource; Director>`
60
-
:index:`\ <single: Director; Resource>`
72
+
.. index::
73
+
single: Resource; Director
74
+
single: Director; Resource
61
75
62
-
The Director resource specifies the Name of the Director which is permitted to use the services of the Storage daemon. There may be multiple Director resources. The Director Name and Password must match the corresponding values in the Director’s configuration file.
76
+
The Director resource specifies the Name of the Director which is permitted to use the services of
77
+
the Storage daemon. There may be multiple Director resources. The Director Name and Password must
78
+
match the corresponding values in the Director’s configuration file.
@@ -82,10 +98,13 @@ The following is an example of a valid Director resource definition:
82
98
NDMP Resource
83
99
-------------
84
100
85
-
:index:`\ <single: Resource; NDMP>`
86
-
:index:`\ <single: NDMP; Resource>`
101
+
.. index::
102
+
single: Resource; NDMP
103
+
single: NDMP; Resource
87
104
88
-
The NDMP Resource specifies the authentication details of each NDMP client. There may be multiple NDMP resources for a single Storage daemon. In general, the properties specified within the NDMP resource are specific to one client.
105
+
The NDMP Resource specifies the authentication details of each NDMP client. There may be multiple
106
+
NDMP resources for a single Storage daemon. In general, the properties specified within the NDMP
@@ -97,10 +116,13 @@ The NDMP Resource specifies the authentication details of each NDMP client. Ther
97
116
Device Resource
98
117
---------------
99
118
100
-
:index:`\ <single: Resource; Device>`
101
-
:index:`\ <single: Device; Resource>`
119
+
.. index.:
120
+
single: Resource; Device
121
+
single: Device; Resource
102
122
103
-
The Device Resource specifies the details of each device (normally a tape drive) that can be used by the Storage daemon. There may be multiple Device resources for a single Storage daemon. In general, the properties specified within the Device resource are specific to the Device.
123
+
The Device Resource specifies the details of each device (normally a tape drive) that can be used by
124
+
the Storage daemon. There may be multiple Device resources for a single Storage daemon. In general,
125
+
the properties specified within the Device resource are specific to the Device.
@@ -111,10 +133,12 @@ The Device Resource specifies the details of each device (normally a tape drive)
111
133
Edit Codes for Mount and Unmount Directives
112
134
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113
135
114
-
:index:`\ <single: Edit Codes for Mount and Unmount Directives>`
115
-
:index:`\ <single: Mount and Unmount: use variables in directives>`
136
+
.. index::
137
+
single: Edit Codes for Mount and Unmount Directives
138
+
single: Mount and Unmount: use variables in directives
116
139
117
-
Before submitting the Mount Command, or Unmount Command directives to the operating system, Bareos performs character substitution of the following characters:
140
+
Before submitting the Mount Command, or Unmount Command directives to the operating system, Bareos
141
+
performs character substitution of the following characters:
118
142
119
143
120
144
@@ -132,7 +156,8 @@ Before submitting the Mount Command, or Unmount Command directives to the operat
132
156
Devices that require a mount (USB)
133
157
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134
158
135
-
:index:`\ <single: Devices that require a mount (USB)>`\
159
+
.. index::
160
+
single: Devices that require a mount (USB)
136
161
137
162
:config:option:`sd/device/RequiresMount`
138
163
You must set this directive to :strong:`yes` for removable devices such as
@@ -201,10 +226,13 @@ Devices that require a mount (USB)
201
226
Autochanger Resource
202
227
--------------------
203
228
204
-
:index:`\ <single: Autochanger Resource>`
205
-
:index:`\ <single: Resource; Autochanger>`
229
+
.. index::
230
+
single: Autochanger Resource
231
+
single: Resource; Autochanger
206
232
207
-
The Autochanger resource supports single or multiple drive autochangers by grouping one or more Device resources into one unit called an autochanger in Bareos (often referred to as a "tape library" by autochanger manufacturers).
233
+
The Autochanger resource supports single or multiple drive autochangers by grouping one or more
234
+
Device resources into one unit called an autochanger in Bareos (often referred to as a "tape library"
Please note that it is important to include the :config:option:`sd/device/Autochanger = yes`\ directive in each device definition that belongs to an Autochanger. A device definition should not belong to more than one Autochanger resource.
271
+
Please note that it is important to include the :config:option:`sd/device/Autochanger = yes`\ directive
272
+
in each device definition that belongs to an Autochanger. A device definition should not belong to more
273
+
than one Autochanger resource.
244
274
245
-
Also, your :config:option:`dir/storage/Device`\ must refer to the Autochanger’s resource name rather than a name of one of the Devices.
275
+
Also, your :config:option:`dir/storage/Device`\ must refer to the Autochanger’s resource name rather
276
+
than a name of one of the Devices.
246
277
247
278
For details refer to the :ref:`AutochangersChapter` chapter.
248
279
@@ -254,9 +285,12 @@ Multiplied Device
254
285
The Multiplied Device feature can be used when multiple identical devices are needed.
255
286
In this case the :config:option:`sd/device/Count` can be added to the regarding Device resource.
256
287
257
-
When the configuration is loaded the |bareosSD| will then automatically multiply this device :config:option:`sd/device/Count` times. The number of multiplied devices includes the original Device.
288
+
When the configuration is loaded the |bareosSD| will then automatically multiply this device
289
+
:config:option:`sd/device/Count` times. The number of multiplied devices includes the original Device.
258
290
259
-
A number "0001" will be appended to name of the initial Device. All other multiplied Devices have increasing numbers "0002", "0003", accordingly. In the example below the name of the multiplied devices will be "MultiFileStorage0001", "MultiFileStorage0002", and so on.
291
+
A number "0001" will be appended to name of the initial Device. All other multiplied Devices have
292
+
increasing numbers "0002", "0003", accordingly. In the example below the name of the multiplied
293
+
devices will be "MultiFileStorage0001", "MultiFileStorage0002", and so on.
0 commit comments