On 02/12/2015 09:03 AM, John Naggets wrote: > On Wednesday, February 11, 2015 at 9:57:19 PM UTC+1, Stephan Duehr wrote: > >> That's mainly for packaging reasons, RHEL 7/CentOS 7 provide the packages >> required to build and run with GlusterFS API, while Debian and Ubuntu don't. >> It does not make much sense for the Bareos Community project to work on >> packaging based on gluster.org packages, as there are too many different >> versions and it is still rarely used. > > I understand that and it totally makes sense to me. I hope that Debian jessie > will include GlusterFS packages then I suppose it will be possible for Bareos > to include support for GlusterFS in their Debian packages. > > >> However, this does not necesarily mean it would not work with Debian, it is >> possible to download the Bareos source code from github and compile it >> yourself >> on Debian with gluster storage backend enabled. >> Configure will even find out what backends it can build given the packages >> you >> have installed so there is no need to enable something specific. If people >> use >> the same compile options as the Debian build system uses and they have either >> CEPH or Gluster installed things will be build. >> >> And in essence you only need the gluster storage plugin which should fit in >> the >> pre-compiled packages (as long as you use the same version of Bareos of >> course). > > That's interesting, so you mean I could use the Bareos Debian packages and > then simply compile the Gluster storage plugin from Bareos and I am ready to > go? If yes how do I compile and install only the Gluster storage plugin from > Bareos? On github (https://github.com/bareos) I did not see a separate > repository for this plugin.
There's no separate repository, the gfapi storage backend is in the direcotory src/stored/backends of the repository https://github.com/bareos/bareos You'll need to compile everything, look for "Howto compile" in http://www.bareos.org/en/howto-contribute.html but as you'll probably build for 14.2, look for configure options at https://github.com/bareos/bareos/blob/bareos-14.2/debian/rules If using Bareos 14.2 packages, you must also do git checkout origin/bareos-14.2 after git clone https://github.com/bareos/bareos.git If all worked well, you'll find libbareossd-gfapi-14.2.2.so that must be copied to /usr/lib/bareos/backends/ and there must be the symlink created: ln -s libbareossd-gfapi libbareossd-gfapi-14.2.2.so > > About being so impatient, in my opinion including GlusterFS support to a > backup software such as Bareos is a killer and anyone should see that as > exciting ;) I was happy with Bacula but for me having Gluster support is THE > reason to change to Bareos. Although any should work by using gluster fuse mount, better performance is expected by native gfapi access due to less overhead than fuse. Regards, -- Stephan Dühr [email protected] Bareos GmbH & Co. KG Phone: +49 221-630693-90 http://www.bareos.com 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. Steffens, Philipp 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.
