Hi,

I tried it myself and after hacking the Makefile.bareos a bit
(as that is mostly Linux based and I work on Solaris) it seems
things still work mostly.

16:58 [mvw:mercury][4121]
/projects/GITrepositories/BAREOS/contrib-pgsql-plugin >
/opt/bareos/sbin/i86/bpluginfo /opt/bareos/lib/plugins/pgsql-fd.so         
                                                                           
                                    
pgsql plugin: version 2.2 April 2013 (c) 2011 by Inteos
pgsql plugin: connected to Bareos version 1

Plugin type:            Bareos File Daemon plugin
Plugin version:         2.2
Plugin release date:    April 2013
Plugin author:          Inteos Sp. z o.o.
Plugin licence:         AGPLv3
Plugin description:     PostgreSQL online backup and recovery plugin (c) Inteos
Sp. z o.o.
Plugin API version:     9

root@mercury:~# /opt/bareos/sbin/i86/bareos-fd -f -d 200
bareos-fd: filed_conf.c:493-0 Inserting Director res: mercury-mon
mercury-fd: bsys.c:622-0 Could not open state file. sfd=-1 size=188: ERR=No
such file or directory
mercury-fd: plugins.c:222-0 load_plugins
mercury-fd: fd_plugins.c:1615-0 is_plugin_compatible called
pgsql plugin: version 2.2 April 2013 (c) 2011 by Inteos
pgsql plugin: connected to Bareos version 9
mercury-fd: fd_plugins.c:1615-0 is_plugin_compatible called
mercury-fd: fd_plugins.c:1590-0 Loaded plugin: python-fd.so
mercury-fd: fd_plugins.c:1590-0 Loaded plugin: pgsql-fd.so
mercury-fd: socket_server.c:96-0 filed: listening on port 8102
mercury-fd: bnet_server_tcp.c:166-0 Addresses host[ipv4;0.0.0.0;8102] 

So my tip would be to clone 

https://github.com/bareos/contrib-pgsql-plugin
cp Makefile.bareos Makefile
edit Makefile
make; make install

That plugin should a least load I had some problems with the location
of the PostgreSQL libs on Solaris so I added -R to the link stage.

Further more the Makefile.bareos uses the source dir as it uses the libtool
we distibute with BAREOS and not the system one now. So you also need to
checkout the current bareos version and build that or if that is to much
work change the Makefile to use the stuff that is available.

-- 
Marco van Wieringen                   [email protected]
Bareos GmbH & Co. KG                  Phone: +49-221-63069389
http://www.bareos.com                     

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.

Reply via email to