Am 19.08.25 um 01:18 schrieb Marcin Haba:
Hello Everybody,
On Mon, 18 Aug 2025 at 23:49, Rob Gerber <r...@craeon.net> wrote:
regarding 'autochanger = something':
I read the bacula manual and typed a lot about it, but I'm not sure what I
typed or read was correct. At most, I would suggest searching the bacula pdf
manual for 'enhanced autochanger support' and reading that section of the
manual. Basically, it looks like 'autochanger = yes' is valid for device {}
resources in bacula-sd.conf, but not valid in bacula-dir.conf anymore.
Thanks, Rob. I have two more words for this autochanger setting.
Autochanger = yes in the Director Storage resource is valid setting
and is used in the Director config for autochangers that are defined
in the Storage resource.
The Director Storage resource can be used both for autochangers and
for single devices. The change about Autochanger = changer_name was
introduced in Bacula 9.2.0 together with a new Director Autochanger
resource. This Autochanger resource is very similar to the Storage
resource but it is about Autochangers.
On the Bacula Director side it does not matter if we use for
autochanger this form:
Autochanger {
Name = "XYZ"
}
or this form:
Storage {
Name = "XYZ"
Autochanger = yes
}
Both settings are equivalent and they do the same.
For Autochanger = changer_name in Director config, this form was added
for the Storage resources that are part of Autochanger and on the
Director side are defined separately as single devices. This way the
Director knows that they are a part of the Autochanger and it knows
which exactly autochanger part they are.
To define autochanger in Director, using the Autochanger resource
instead of Storage resource is a modern way of doing it (since 9.2.0),
but defining it by Storage resource is supported the same well from
the beginning of Bacula.
More details we can read here:
https://www.bacula.org/15.0.x-manuals/en/main/New_Features_in_9_2_0.html#SECTION007010000000000000000
Thanks a *LOT* for this writeup. I might bookmark that somehow since I
fell over these parameters a few times already.
As far as I currently understand, I don't need the Autochanger Ressource
in my case with only one directory on the filesystem storing Volumes. At
least it looks like this in my current config.
right?
As soon as I would have to combine several separate directories, this
might change. No need right now, only asking for future setups.
Thanks again @Rob and @Marcin, great support here.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users