I was taking a look in the Bacula manual and noticed
something a kind weird.
In the latest versions of Bacula, it looks that the
Storage resource in bacula-dir.conf is created as
"autochanger" instead "storage", and when a resource
"storage" is an "autochanger" is necessary to include the
option "autochanger = yes", like manual said:
----------------------------------------------------------------------------
"Autochanger = yes|no - If you specify yes for this
command (the default is no), when you use the label
command or the add command to create a new Volume, Bacula
will also request the Autochanger Slot number. This
simplifies creating database entries for Volumes in an
autochanger. If you forget to specify the Slot, the
autochanger will not be used. However, you may modify the
Slot associated with a Volume at any time by using the
update volume or update slots command in the console
program. When autochanger is enabled, the algorithm used
by Bacula to search for available volumes will be modified
to consider only Volumes that are known to be in the
autochanger's magazine. If no in changer volume is found,
Bacula will attempt recycling, pruning, ..., and if still
no volume is found, Bacula will search for any volume
whether or not in the magazine. By privileging in changer
volumes, this procedure minimizes operator intervention.
The default is no.
For the autochanger to
be used, you must also specify Autochanger = yes in the
Device ResourceAutochanger in the Storage daemon's
configuration file as well as other important Storage
daemon configuration information. Please consult the Using
AutochangersAutochangersChapter manual of this chapter for
the details of using autochangers."
----------------------------------------------------------------------------
But I noticed that the new configuration are coming with
"autochanger = File1" (I guess is Media Type), but this is
not documented.
----------------------------------------------------------------------------
# Definition of file
Virtual Autochanger device
Autochanger {
Name = File1
# Do not use
"localhost" here
Address = debian
# N.B. Use a fully qualified name here
SDPort = 9103
Password =
"PVVUz249K/Lay7zJ4IqcRsBnEe7JW1LkrwiTOHSoPMy0"
Device = FileChgr1
Media Type = File1
Maximum Concurrent
Jobs = 10 # run up to 10 jobs a the same time
Autochanger =
File1 # point to ourself
}
----------------------------------------------------------------------------
I also noticed the latest releases of the community
version with a very poor documentation, without any
examples or more detailed explanations.
How could the community or developers could help to
we improve that and have am updated documentation?