Very interesting question. Had not tried this in a distributed environment.
I could assume that bextract work without a director on storage itself.

Oleg Volkov
T: +972-50-7601914
Skype: voleg4u , WhatsApp.


On Mon, Mar 4, 2024 at 6:17 PM Michael Kurz <michi.k...@gmail.com> wrote:

> So i tried this using the linked guide on my setup which has the director
> and the storage daemon on different machines, but got stuck at the bextract
> step, with bextract not finding the given device:
>
> director-server:~# bextract -b /tmp/bs01-bootstrap BD01-BackupDisk
> /tmp/back
> bextract: stored/butil.cc:299-0 Could not find device "BD01-BackupDisk" in
> config file <NULL>.
> 04-Mar 15:18 bextract JobId 0: Fatal error: stored/butil.cc:173 Cannot
> find device "BD01-BackupDisk" in config file <NULL>.
>
> Specifying any configuration file form the director (bareos-dir.conf or
> stroage.conf where the storage is defined) complains about an incompatible
> configuration file.
>
> Do i understand it correctly that bextract can only work on the storage
> daemon server and not on the director server if these are different
> machines?
> The link implies that it would work on the director server to, but maybe i
> understood it wrong.
>
> So my question is can bextract be used from a director with the storage
> daemon on another machine? And if so, how would i do this?
>
> Thanks in advance
>
>
>
> On Tuesday, September 26, 2023 at 8:18:10 AM UTC+2 Oleg Volkov wrote:
>
>> http://www.voleg.info/bareos-disaster-recovery.html
>> Quite old, but still work in principal.
>>
>> On Friday, September 22, 2023 at 11:20:10 PM UTC+3 wizh...@gmail.com
>> wrote:
>>
>>> I have followed the documentation and cannot get past the restore
>>> command requiring a jobid
>>>
>>> The docs state
>>>
>>> " After re-initializing the database, you should be able to run Bareos.
>>> If you now try to use the restore command, it will not work because the
>>> database will be empty. However, you can manually run a restore job and
>>> specify your bootstrap file. You do so by entering the run command in the
>>> console and selecting the restore job. If you are using the default Bareos
>>> Director configuration, this Job will be named RestoreFiles. Most likely it
>>> will prompt you with something such as:"
>>>
>>> So o run in bconsole
>>>
>>> run
>>>
>>> then selec 14 for RestoreFiles
>>>
>>> It then requires a jobid to continue but there are non yet in the
>>> database as I am trying to get the catalog using a bootstrap file.
>>>
>>> What am I missing?
>>>
>>>
>>>
>>>
>>>
>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "bareos-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/bareos-users/Yno-Z1DOOTY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> bareos-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/880ef1e8-bf7a-4f5a-a52a-3dc2dacd948dn%40googlegroups.com
> <https://groups.google.com/d/msgid/bareos-users/880ef1e8-bf7a-4f5a-a52a-3dc2dacd948dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/CACWVf364vLDAajDa1CX_emy6y6X28qAZ_v4w%2BiM%3D8eP5FGnggA%40mail.gmail.com.

Reply via email to