Am 18.06.2016 um 14:23 schrieb destiny labs:
> I started to development some scripts for use Bareos for the command
> line, without need to use bconsole and other script can use for add client.
> 
> I would like to shared with you.
> 
> https://github.com/0x4a0x72/Bareos

Nice. It is always good to see people improving the interface to Bareos.
You might also want to take a look at

https://github.com/bareos/python-bareos

especially the BSockJson interface, to get the results in JSON format,
which make it much easier to parse them.

The upcomming bareos-16.2 version, currently at
http://download.bareos.org/bareos/experimental/nightly/, will have a
build in configuration API (see
https://github.com/bareos/bareos/commit/6c0bd56d63ea0f9a74b84635503b621fd8055473).

You can use a bconsole command like

bconsole
* configure add client=testclient2-fd address=testclient2.example.com
password=secret

to add clients or other resources. One advantage is, that the director
immediately checks the new resource and adds it to the running
configuration. I will post some more information about this is the next
days, when a commit the adapts the default configuration have been
finalized.

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, M. v. Wieringen

-- 
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