Hello Sul,
> I want to execute bscan via bash script as I have quite some amount of tapes
> to synchronise with Bacula DB. If I run bscan manually than it is working
> fine but if I try the bscan via Bash Script > than it is always stuck at a
> point and unless or until I press Enter, it is not
Hi,
pt., 15 wrz 2023 o 14:14 SulEsh napisał(a):
> Hi
>
> I want to execute bscan via bash script as I have quite some amount of
> tapes to synchronise with Bacula DB.
>
How do you plan to automate this with bash script?
> If I run bscan manually than it is working fine but if I try the bscan
One of the things that the "update slots" command does is tell bacula which
tapes are in which slots in the autochanger.
The error output you are seeing indicates that it doesn't know which slot
to load.
Robert Gerber
402-237-8692
r...@craeon.net
On Fri, Sep 15, 2023, 9:50 AM Rob Gerber wrote:
I understand that you are using bscan. Maybe I am missing something, but my
understanding is that once you add tapes to an autochanger you need to do
"update slots" in bconsole. This syncs the autochanger inventory with the
bacula director.
I have not imported tapes using bscan, so I am sorry if I
I am using bscan and not directly doing it via bconsole.
Thus update slots in actual is not required here.
On Fri, Sep 15, 2023 at 3:40 PM Rob Gerber wrote:
> After you add tapes to changer you must tell bacula director what tapes
> are in changer. To do this, open bconsole and do
>
> update slo
After you add tapes to changer you must tell bacula director what tapes are
in changer. To do this, open bconsole and do
update slots
Robert Gerber
402-237-8692
r...@craeon.net
On Fri, Sep 15, 2023, 7:13 AM SulEsh wrote:
> Hi
>
> I want to execute bscan via bash script as I have quite some a