Hello, another command line interface, which makes use of the api and python library, is bsmc (written in Python). https://github.com/bareos/bareos-contrib/tree/master/misc/bsmc
Packages in the contrib repository: http://download.bareos.org/bareos/contrib/ Regards Maik Am 18.06.2016 um 16:21 schrieb Jörg Steffens: > 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 -- With kind regards // Mit freundlichen Grüßen -- Maik Außendorf [email protected] Bareos GmbH & Co. KG Phone: +49221630693-93 http://www.bareos.com Fax: +49221630693-10 **Open Source Backup Conf 2016 - September 26 to 27 - osbconf.org ** Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: Stephan Dühr, M. Außendorf, J. 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.
