Glad it's working now!

re: encryption: What version of bacula are you running now? What errors are
you getting with encryption enabled?

At a glance, your most recent config looks reasonable. I will note that
with one 'drive' device in your SD, and no autochanger, you will only be
able to write one job at a time. This is why one might want to have
multiple 'drives' and an autochanger. MAYBE your spooling will change this.
Not sure, I haven't spooled a disk volume job.

Also, the usual advice is that it normally doesn't make sense to spool jobs
for disk volumes. Spooling attributes is another matter.
I think since you haven't specified 'spool directory = xyz' in your
devices, bacula will spool into the bacula working directory
(/opt/bacula/working if installing from the bacula community repos). Might
want to be sure you have enough space there wherever you are spooling, if
you decide to keep spooling jobs. Also, make sure your spool disk is fast
enough to keep up.

I think that if you are spooling data to the same disks you will write the
disk volumes to, then it will double the resource usages of the bacula jobs
as it must both read and write from/to the same disk resources. Better to
use separate fast SSD or ramdisk (if UPS supported) spool disks. Again,
however, spooling doesn't usually make sense for destination media that
isn't magnetic tape (or maybe optical disk).

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.

I am sorry if I have misunderstood something in your emails. Today has been
hectic.

Regards,
Robert Gerber
402-237-8692
r...@craeon.net


On Mon, Aug 18, 2025 at 2:38 PM Stefan G. Weichinger <li...@xunil.at> wrote:

> I have it working now.
>
> Several additional issues with Encryption and Mediatype, but it
> basically works again.
>
> My mental mistake was the AutoChanger to begin with.
>
> #SD
>
> ## other basic parts
>
> Device {
>    Name = "FileStorage"
>    Description = "local storage on tx100:/mnt/tera/bacula"
>    MediaType = "File1"
>    ArchiveDevice = "/mnt/tera/bacula/file"
>    RemovableMedia = no
>    RandomAccess = yes
>    AutomaticMount = yes
>    LabelMedia = yes
>    ReadOnly = no
>    MaximumConcurrentJobs = 5
>    #VolumeEncryption = "Yes"
> }
>
> # Dir
>
> Storage {
>    Name = "File"
>    Description = "local storage on tx100:/mnt/tera/bacula"
>    SdPort = 9103
>    Address = "tx100.loc.oops.co.at"
>    Password = "_swXHSgGz6DhqHOxS2PlmbAJks_LY6Gg0"
>    Device = "FileStorage"
>    MediaType = "File1"
>    MaximumConcurrentJobs = 50
> }
>
> that's it. Adjust JobDefs to use the Storage, get the Mediatype right ..
> and in my case turn off Encryption first, add that later ...
>
> Thanks all, sorry for the noise.
>
> Pls correct me, if I miss something.
>
> For now I start some Backup Jobs.
>
>
>
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to