Am 20.06.24 um 17:32 schrieb Radosław Korzeniewski:

Great! So what job logs say about a volume selection when it selects "a wrong volume"?

Well, it looks for a volume named "Vol-xxx" in the tape loader, which is wrong.

Your configuration seems to be fine, but what Bacula says about your configuration - check bconsole command show job=...
Did you reload your configuration after any change?

I restarted the daemons now and then, if that's the same.

Are your volumes labeled correctly?

I think so. That one "ghost volume" is created by Bacula somehow.

    Pool "daily" should not create a "Vol-" volume in the "File" storage
    ...
    it shouldn't use "File" at all.


Yes, if you configured it as described.
I never had such a mistake in Bacula when correctly configured, but I've seen this kind of mistake when incorrectly configured.

Well, that's why I posted the config lines ;-)
I agree and know that something is incorrectly configured. The question is: what?

     > Finally you should configure the "Recycle" pool parameter
    pointing to
     > the Scratch pool, so all your unused tapes will return to it,
    closing
     > the cycle.
     > When carefully configured it will automatically rotate all your
    tapes,
     > which is good for them.
     >
     > I hope it helps

    phew, sounds even more complicated to me right now


As you wish. A default Bacula configuration which comes with a default installation is the best suited for disk based backups and this is what you call "clever defaults or automatisms" as it works perfectly from the start. It is not meant to be used "as-is" for tape backups and needs more customizations.

I appreciate your help and I am ready to learn. If I have to adjust things for using tapes: ok ...

Basically I could also get rid of the whole storage "File" including the volumes. It was temporary only, the main goal is to write backups to physical tapes. But I take this as a "challenge" to learn more about the mechanisms of Bacula.

(if I get migrate-jobs from File to Tape working without losing any data, that might be even better ... then remove storage "File" after doing so)

thanks, Stefan



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to