On 02.12.18 at 13:00 wrote Rafael Castellar das Neves:
> Hi all!
> 
> I'd like to interact with bareos-dir via some python script. I was
> giving a try to python-bareos but I think I did not understand how to
> use it.
> 
> I'm using bareos 17.2.5 in my rasbperry. As documentations stands,
> python-bareos should be already installed among those other common
> bareos package.

No, the python-bareos is not installed by default. This should be
written in the official documentation? Where?

> I opened a python shell an tried the very first line
> of the examples: import bareos.bsock, but it can't be found.
> 
> I did not find some more specific in documentation and neither
> examples of how to use it. Does anyone have some specific
> documentaion, or HOWTOs or examples that could help me?

If you install python-bareos, it also includes some command line
program, that can be used as examples. Also present at
https://github.com/bareos/bareos/tree/master/python-bareos/bin

regards,
Jörg
-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to