Hello,

wt., 25 cze 2024 o 14:26 Stefan G. Weichinger <li...@xunil.at> napisał(a):

> Am 25.06.24 um 12:59 schrieb Stefan G. Weichinger:
>
> > my director conf is 863 lines long, I assume I should pick out the
> > relevant parts. Will try to.
>
> ok, showing config
>

What about job logs where Bacula "creates a new volume
like "Vol-252", but with MediaType "LTO-6", which is then NOT FOUND in
the tape autoloader. Sure, this one doesn't exist. "Vol-" volumes are
for storage "File" only."?

Device {
>    Name = "FileStorage"
>    MediaType = "File"
>    ArchiveDevice = "/mnt/backup/bacula"
>    RemovableMedia = no
>    RandomAccess = yes
>    AutomaticMount = yes
>    LabelMedia = yes
>    AlwaysOpen = no
>    SpoolDirectory = "/mnt/amhold/bacula"
>    MaximumSpoolSize = 80000000000
> }
>

I think you should read best practices document:
https://bacula.org/whitepapers/CommunityDiskBackup.pdf
Especially the part  "2.2 Using a Virtual Autochanger"

Device {
>    Name = "HP-Ultrium"
>    MediaType = "LTO-6"
>    ArchiveDevice = "/dev/nst0"
>

You should use persistent device names above.


>    RemovableMedia = yes
>    RandomAccess = no
>    LabelMedia = yes
>    AlwaysOpen = yes
>    Autochanger = yes
>    MaximumBlockSize = 262144
>    MaximumFileSize = 8589934592
>    SpoolDirectory = "/mnt/amhold/bacula"
>    MaximumSpoolSize = 1000000000000
> }
> Messages {
>    Name = "Standard"
>    Director = samba-dir = All, !Mount
> }
> Autochanger {
>    Name = "HP-Autoloader"
>    Description = "HP 1x8 G2 AUTOLDR"
>    Device = "HP-Ultrium"
>    ChangerDevice = "/dev/sg8"
>

The same here about persistent device names.


>    ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
> }
>
>
best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to