On 2022-06-03 20:34, Bill Arlofski via Bacula-users wrote:
Hello Josip,
This new StorageGroup feature allows you to specify more than one
Storage in a Job or Pool.
For example:
----8<----
Job {
Name = Test
Storage = Storage_1, Storage_2, Storage_3, ...
StorageGroupPolicy = (ListedOrder|LeastUsed)
...
}
----8<----
Then, when Bacula starts a job, if it cannot reach the first one for
some reason, or the first one rejects the job (ie: some
mis-configuration issue, or devices are disabled on it), then the next
one is tried, and so on until it finds one that works.
The `StorageGroupPolicy` setting allows you to tell Bacula what
criteria to use when selecting
the storage. The default is
`ListedOrder` and will be used if not specified.
The `LeastUsed` policy checks all of the specified Storages and
chooses the one with the least number of jobs currently
running on it.
I understand there are more `StorageGroupPolicy` options being planned.
Hope this helps,
Bill
This is very nice.
Bill, thank you for explaining it.
Regards!
--
Josip Deanovic
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users